[PATCH 5/8] Remove unusedcode.easy

Brad Sowden code at sowden.org
Wed Dec 28 16:44:52 PST 2011


---
 svx/inc/svx/numfmtsh.hxx      |    2 --
 svx/source/items/numfmtsh.cxx |   15 ---------------
 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 df2a42c..89e9686 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 90c5f3a..9c0ba71 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 fa8ca4a..1ed85f7 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*)
-- 
1.7.7.4


--------------080606080202010104030207--


More information about the LibreOffice mailing list