diff options
author | Brad Sowden <code@sowden.org> | 2011-12-29 22:28:31 +1300 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-04 13:49:10 +0100 |
commit | 9ff11d8b1db565e5bb82d85b130c434f01fb06ad (patch) | |
tree | 6cdc89c99e20d70ec704a256fb8a212540b8f27b | |
parent | 516a16c8d1c9366b51f1dfebcfcf918db8be9a71 (diff) |
Easyhack fdo#38831 remove SvStrings
Remove a function contained in unusedcode.easy that includes SvStrings.
-rw-r--r-- | svx/inc/svx/numfmtsh.hxx | 2 | ||||
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 15 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 18 deletions
diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx index df2a42cbef15..89e9686bb042 100644 --- a/svx/inc/svx/numfmtsh.hxx +++ b/svx/inc/svx/numfmtsh.hxx @@ -209,8 +209,6 @@ public: sal_uInt16 FindCurrencyTableEntry( const String& rFmtString, bool &bTestBanking ); bool IsInTable(sal_uInt16 nPos,bool bTmpBanking,const String &rFmtString); - void GetCurrencyFormats(SvStrings& rList); - private: static const double DEFAULT_NUMVALUE; diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 90c5f3a4d303..9c0ba7108200 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1622,21 +1622,6 @@ void SvxNumberFormatShell::GetCurrencySymbols( SvStringsDtor& rList, bool bFlag delete pLanguageTable; } -void SvxNumberFormatShell::GetCurrencyFormats(SvStrings& aListDtor) -{ - if(pCurCurrencyEntry!=NULL) - { - NfWSStringsDtor aWSStringsDtor; - /*sal_uInt16 nDefault = */pFormatter->GetCurrencyFormatStrings( aWSStringsDtor, - *pCurCurrencyEntry, bBankingSymbol ); - - for(sal_uInt16 i=0;i<aWSStringsDtor.Count();i++) - { - aListDtor.Insert(new String(*aWSStringsDtor[i]),aListDtor.Count()); - } - } -} - bool SvxNumberFormatShell::IsBankingSymbol(sal_uInt16 nPos) { const NfCurrencyTable& rCurrencyTable=SvNumberFormatter::GetTheCurrencyTable(); diff --git a/unusedcode.easy b/unusedcode.easy index fa8ca4af28b5..1ed85f74bf49 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -685,7 +685,6 @@ SvxMSDffShapeTxBxSort::Remove(SvxMSDffShapeOrder* const&, unsigned short) SvxMSDffShapeTxBxSort::Remove(unsigned short, unsigned short) SvxNumRule::SetLevel(unsigned short, SvxNumberFormat const*) SvxNumberFormatShell::GetCurCurrencyEntry() -SvxNumberFormatShell::GetCurrencyFormats(SvStrings&) SvxNumberFormatShell::IsBankingSymbol(unsigned short) SvxNumberInfoItem::SetDoubleValue(double const&) SvxNumberInfoItem::SetNumberFormatter(SvNumberFormatter*) |