diff options
author | Elton Chung <elton@layerjet.com> | 2012-02-10 14:53:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-10 15:42:53 +0000 |
commit | ea1fa6963d1f45130a3dc3d635e5b37120bf364b (patch) | |
tree | faf9361fae977f504e9d4ce795c3f6225bff67fb /svx/source/items | |
parent | 4e022ca124bbedfc6464f67edd11f3edd51d24e8 (diff) |
Remove unused code
Diffstat (limited to 'svx/source/items')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 13 | ||||
-rw-r--r-- | svx/source/items/numinf.cxx | 23 |
2 files changed, 0 insertions, 36 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index d3fe22dea8da..d696123ea8b4 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -1618,14 +1618,6 @@ void SvxNumberFormatShell::GetCurrencySymbols(std::vector<rtl::OUString>& rList, delete pLanguageTable; } -bool SvxNumberFormatShell::IsBankingSymbol(sal_uInt16 nPos) -{ - const NfCurrencyTable& rCurrencyTable=SvNumberFormatter::GetTheCurrencyTable(); - sal_uInt16 nCount=rCurrencyTable.Count(); - - return (nPos>nCount); -} - void SvxNumberFormatShell::SetCurrencySymbol(sal_uInt16 nPos) { const NfCurrencyTable& rCurrencyTable=SvNumberFormatter::GetTheCurrencyTable(); @@ -1656,11 +1648,6 @@ sal_uInt32 SvxNumberFormatShell::GetCurrencySymbol() return nCurCurrencyEntryPos; } -NfCurrencyEntry* SvxNumberFormatShell::GetCurCurrencyEntry() -{ - return pCurCurrencyEntry; -} - void SvxNumberFormatShell::SetCurCurrencyEntry(NfCurrencyEntry* pCEntry) { pCurCurrencyEntry=pCEntry; diff --git a/svx/source/items/numinf.cxx b/svx/source/items/numinf.cxx index 6e5f89e9b04a..9401e002d44f 100644 --- a/svx/source/items/numinf.cxx +++ b/svx/source/items/numinf.cxx @@ -200,29 +200,6 @@ SvStream& SvxNumberInfoItem::Store( SvStream &rStream, sal_uInt16 /*nItemVersion // ----------------------------------------------------------------------- -void SvxNumberInfoItem::SetNumberFormatter( SvNumberFormatter* pNumFormatter ) -{ - pFormatter = pNumFormatter; -} - -// ----------------------------------------------------------------------- - -void SvxNumberInfoItem::SetStringValue( const String& rNewVal ) -{ - aStringVal = rNewVal; - eValueType = SVX_VALUE_TYPE_STRING; -} - -// ----------------------------------------------------------------------- - -void SvxNumberInfoItem::SetDoubleValue( const double& rNewVal ) -{ - nDoubleVal = rNewVal; - eValueType = SVX_VALUE_TYPE_NUMBER; -} - -// ----------------------------------------------------------------------- - void SvxNumberInfoItem::SetDelFormatArray( const sal_uInt32* pData, const sal_uInt32 nCount ) { |