Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



Hi,

See attached.

Remove a function contained in unusedcode.easy that includes SvStrings.

Regards,
Brad

From 71f1914ced8f0d6b5aca26e9e83270d95e4437a1 Mon Sep 17 00:00:00 2001
From: Brad Sowden <code@sowden.org>
Date: Thu, 29 Dec 2011 13:44:52 +1300
Subject: [PATCH 5/8] Remove unusedcode.easy

---
 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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.