Attached patch removes NfCurrencyEntry::ApplyVariableInformation(NfCurrencyEntry const&) as listed in unusedcode.easy.
-- Mariusz Dykerek
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index aa68fc1..ac387d4 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -260,10 +260,6 @@ public: /// Symbols and language identical bool operator==( const NfCurrencyEntry& r ) const; - /** Apply format information (nPositiveFormat, - nNegativeFormat, nDigits, cZeroChar) of another format. */ - void ApplyVariableInformation( const NfCurrencyEntry& ); - const String& GetSymbol() const { return aSymbol; } const String& GetBankSymbol() const { return aBankSymbol; } LanguageType GetLanguage() const { return eLanguage; } diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index eecd743..1f5085d 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3852,14 +3852,6 @@ bool NfCurrencyEntry::operator==( const NfCurrencyEntry& r ) const ; } -void NfCurrencyEntry::ApplyVariableInformation( const NfCurrencyEntry& r ) -{ - nPositiveFormat = r.nPositiveFormat; - nNegativeFormat = r.nNegativeFormat; - cZeroChar = r.cZeroChar; -} - - void NfCurrencyEntry::BuildSymbolString( String& rStr, bool bBank, bool bWithoutExtension ) const { diff --git a/unusedcode.easy b/unusedcode.easy index b427d5b..4c9c46d7 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -113,7 +113,6 @@ MultiLineEdit::IsFocusSelectionHideEnabled() const MultiSelection::Append(long) MultiSelection::PrevSelected() NativeNumberWrapper::isValidNatNum(com::sun::star::lang::Locale const&, short) const -NfCurrencyEntry::ApplyVariableInformation(NfCurrencyEntry const&) NfCurrencyEntry::NfCurrencyEntry() NotificationSettings::CopyData() NumberFormatCodeWrapper::getDefault(short, short) const
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice