[Libreoffice-commits] .: cui/source svx/inc svx/source unusedcode.easy

Eike Rathke erack at kemper.freedesktop.org
Tue Nov 22 07:59:24 PST 2011


 cui/source/tabpages/numfmt.cxx |    5 +----
 svx/inc/svx/numfmtsh.hxx       |    4 ----
 svx/source/items/numfmtsh.cxx  |    2 --
 unusedcode.easy                |    1 -
 4 files changed, 1 insertion(+), 11 deletions(-)

New commits:
commit 33a8ac0750d4ee7800b9faccdee3fffb850a04b1
Author: Daniel Di Marco <d.dimarco at gmx.de>
Date:   Tue Nov 22 16:58:46 2011 +0100

    remove NfShCurrencyEntries and NfShCurrencyEntryPtr types

diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 8c9ec83..5866cfc 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 1fc0d7e..df2a42c 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 31edcd6..5296abc 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 126beb1..fc8834c 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


More information about the Libreoffice-commits mailing list