diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-03 21:40:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 09:00:05 +0100 |
commit | 04723baf6e87fb8d3c097f41529e388bf48df43c (patch) | |
tree | b9f02835a5fbe5884bce911ae80f9a08686729de /svl | |
parent | f1d4ce6ea51574a0f0a80c4c9ed2ddbc356fbec0 (diff) |
callcatcher: various unused methods
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 22 |
2 files changed, 0 insertions, 26 deletions
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; |