summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Di Marco <d.dimarco@gmx.de>2011-11-22 16:58:46 +0100
committerEike Rathke <erack@redhat.com>2011-11-22 16:59:16 +0100
commit33a8ac0750d4ee7800b9faccdee3fffb850a04b1 (patch)
tree0c31215a7448146b733b96354bb6b55de4cf2eb7
parent98f32b2b8ebefe50dfa99b5c72ceb2639bf63787 (diff)
remove NfShCurrencyEntries and NfShCurrencyEntryPtr types
-rw-r--r--cui/source/tabpages/numfmt.cxx5
-rw-r--r--svx/inc/svx/numfmtsh.hxx4
-rw-r--r--svx/source/items/numfmtsh.cxx2
-rw-r--r--unusedcode.easy1
4 files changed, 1 insertions, 11 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 8c9ec83c2498..5866cfc9e852 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1739,16 +1739,13 @@ void SvxNumberFormatTabPage::SetOkHdl( const Link& rOkHandler )
void SvxNumberFormatTabPage::FillCurrencyBox()
{
SvStringsDtor aList;
- NfShCurrencyEntries rEntries;
- XubString* pEntry = NULL;
sal_uInt16 nSelPos=0;
pNumFmtShell->GetCurrencySymbols( aList, &nSelPos);
for(sal_uInt16 i=1;i<aList.Count();i++)
{
- pEntry=aList[i];
- aLbCurrency.InsertEntry( *pEntry);
+ aLbCurrency.InsertEntry( *aList[i] );
}
aLbCurrency.SelectEntryPos(nSelPos);
}
diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx
index 1fc0d7e8e408..df2a42cbef15 100644
--- a/svx/inc/svx/numfmtsh.hxx
+++ b/svx/inc/svx/numfmtsh.hxx
@@ -78,10 +78,6 @@ enum SvxNumberValueType
#define NUMBERFORMAT_ENTRY_NEW_CURRENCY NUMBERFORMAT_ENTRY_NOT_FOUND-1
-typedef NfCurrencyEntry* NfShCurrencyEntryPtr;
-SV_DECL_PTRARR( NfShCurrencyEntries, NfShCurrencyEntryPtr, 8, 1 )
-
-
class SvxDelStrgs: public SvStrings
{
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 31edcd692ba8..5296abce446b 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -53,8 +53,6 @@
const double SvxNumberFormatShell::DEFAULT_NUMVALUE = 1234.56789;
-SV_IMPL_PTRARR( NfShCurrencyEntries, NfCurrencyEntry* );
-
// -----------------------------------------------------------------------
diff --git a/unusedcode.easy b/unusedcode.easy
index 126beb1861cf..fc8834cc53a0 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -241,7 +241,6 @@ NameNode::IsOrderTree() const
NativeNumberWrapper::isValidNatNum(com::sun::star::lang::Locale const&, short) const
NfCurrencyEntry::ApplyVariableInformation(NfCurrencyEntry const&)
NfCurrencyEntry::NfCurrencyEntry()
-NfShCurrencyEntries::DeleteAndDestroy(unsigned short, unsigned short)
NotificationSettings::CopyData()
NotifyBrokenPackage::isAborted()
NumberFormatCodeWrapper::getDefault(short, short) const