From 04723baf6e87fb8d3c097f41529e388bf48df43c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 3 Oct 2011 21:40:06 +0100 Subject: callcatcher: various unused methods --- svl/inc/svl/zforlist.hxx | 4 ---- svl/source/numbers/zforlist.cxx | 22 ---------------------- 2 files changed, 26 deletions(-) (limited to 'svl') diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index c27f7795b745..67a1678fcf9d 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -266,10 +266,6 @@ public: /// Symbols and language identical bool operator==( const NfCurrencyEntry& r ) const; - /// Set this format to be the EURo entry, overwrite other settings - void SetEuro(); - bool IsEuro() const; - /** Apply format information (nPositiveFormat, nNegativeFormat, nDigits, cZeroChar) of another format. */ void ApplyVariableInformation( const NfCurrencyEntry& ); diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 5bbaf8faca14..8ce8eef7a0f8 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3823,28 +3823,6 @@ bool NfCurrencyEntry::operator==( const NfCurrencyEntry& r ) const ; } - -void NfCurrencyEntry::SetEuro() -{ - aSymbol = NfCurrencyEntry::GetEuroSymbol(); - aBankSymbol.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "EUR" ) ); - eLanguage = LANGUAGE_DONTKNOW; - nPositiveFormat = 3; - nNegativeFormat = 8; - nDigits = 2; - cZeroChar = '0'; -} - - -bool NfCurrencyEntry::IsEuro() const -{ - if ( aBankSymbol.EqualsAscii( "EUR" ) ) - return true; - String aEuro( NfCurrencyEntry::GetEuroSymbol() ); - return aSymbol == aEuro; -} - - void NfCurrencyEntry::ApplyVariableInformation( const NfCurrencyEntry& r ) { nPositiveFormat = r.nPositiveFormat; -- cgit