summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorBrad Sowden <code@sowden.org>2011-12-29 22:28:31 +1300
committerLuboš Luňák <l.lunak@suse.cz>2012-01-04 13:49:10 +0100
commit9ff11d8b1db565e5bb82d85b130c434f01fb06ad (patch)
tree6cdc89c99e20d70ec704a256fb8a212540b8f27b /svx
parentEasyhack fdo#38831 remove SvStrings (diff)
downloadcore-9ff11d8b1db565e5bb82d85b130c434f01fb06ad.tar.gz
core-9ff11d8b1db565e5bb82d85b130c434f01fb06ad.zip
Easyhack fdo#38831 remove SvStrings
Remove a function contained in unusedcode.easy that includes SvStrings.
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/numfmtsh.hxx2
-rw-r--r--svx/source/items/numfmtsh.cxx15
2 files changed, 0 insertions, 17 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();