From 9ff11d8b1db565e5bb82d85b130c434f01fb06ad Mon Sep 17 00:00:00 2001 From: Brad Sowden Date: Thu, 29 Dec 2011 22:28:31 +1300 Subject: [PATCH] Easyhack fdo#38831 remove SvStrings Remove a function contained in unusedcode.easy that includes SvStrings. --- svx/inc/svx/numfmtsh.hxx | 2 -- svx/source/items/numfmtsh.cxx | 15 --------------- unusedcode.easy | 1 - 3 files changed, 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