diff options
author | August Sodora <augsod@gmail.com> | 2011-12-16 23:49:38 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2011-12-19 14:36:10 -0500 |
commit | db8ff2610aea96597f1a09ec81ae09a7c832d158 (patch) | |
tree | a4e43a3f315d5f7efb89073e89687fcb1f8ca576 /sc | |
parent | 4f766a2d84de3cc9fa872c251501df79f5081e22 (diff) |
callcatcher: Remove unused code
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/tpsort.cxx | 23 | ||||
-rw-r--r-- | sc/source/ui/dbgui/tpsubt.cxx | 17 | ||||
-rw-r--r-- | sc/source/ui/inc/tpcalc.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/inc/tpprint.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/inc/tpsort.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpsubt.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tpusrlst.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpcalc.cxx | 19 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpprint.cxx | 14 | ||||
-rw-r--r-- | sc/source/ui/optdlg/tpusrlst.cxx | 15 |
10 files changed, 0 insertions, 95 deletions
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx index 70e53b039db1..6609563a815e 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -58,15 +58,6 @@ using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - -static sal_uInt16 pSortRanges[] = -{ - SID_SORT, - SID_SORT, - 0 -}; - // ----------------------------------------------------------------------- /* @@ -174,13 +165,6 @@ void ScTabPageSortFields::Init() aFlArr[2] = &aFlSort3; } -//------------------------------------------------------------------------ - -sal_uInt16* ScTabPageSortFields::GetRanges() -{ - return pSortRanges; -} - // ----------------------------------------------------------------------- SfxTabPage* ScTabPageSortFields::Create( Window* pParent, @@ -690,13 +674,6 @@ void ScTabPageSortOptions::Init() aLbLanguage.InsertLanguage( LANGUAGE_SYSTEM ); } -//------------------------------------------------------------------------ - -sal_uInt16* ScTabPageSortOptions::GetRanges() -{ - return pSortRanges; -} - // ----------------------------------------------------------------------- SfxTabPage* ScTabPageSortOptions::Create( diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx index 14332e5e7a78..c2bc52f0f37c 100644 --- a/sc/source/ui/dbgui/tpsubt.cxx +++ b/sc/source/ui/dbgui/tpsubt.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #undef SC_DLLIMPLEMENTATION #include "scitems.hxx" @@ -42,15 +41,6 @@ #include "subtdlg.hrc" #include "tpsubt.hxx" -// STATIC DATA ----------------------------------------------------------- - -static sal_uInt16 pSubTotalsRanges[] = -{ - SID_SUBTOTALS, - SID_SUBTOTALS, - 0 -}; - //======================================================================== // Zwischenergebnisgruppen-Tabpage: @@ -126,13 +116,6 @@ void ScTpSubTotalGroup::Init() FillListBoxes(); } -//------------------------------------------------------------------------ - -sal_uInt16* ScTpSubTotalGroup::GetRanges() -{ - return pSubTotalsRanges; -} - // ----------------------------------------------------------------------- bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo, diff --git a/sc/source/ui/inc/tpcalc.hxx b/sc/source/ui/inc/tpcalc.hxx index 9ab7c107561b..c680b0b38f3e 100644 --- a/sc/source/ui/inc/tpcalc.hxx +++ b/sc/source/ui/inc/tpcalc.hxx @@ -46,7 +46,6 @@ class ScTpCalcOptions : public SfxTabPage public: static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rCoreSet ); - static sal_uInt16* GetRanges (); virtual sal_Bool FillItemSet ( SfxItemSet& rCoreSet ); virtual void Reset ( const SfxItemSet& rCoreSet ); using SfxTabPage::DeactivatePage; diff --git a/sc/source/ui/inc/tpprint.hxx b/sc/source/ui/inc/tpprint.hxx index 7aa00147fa64..20edfd036e62 100644 --- a/sc/source/ui/inc/tpprint.hxx +++ b/sc/source/ui/inc/tpprint.hxx @@ -46,7 +46,6 @@ class ScTpPrintOptions : public SfxTabPage public: static SfxTabPage* Create( Window* pParent, const SfxItemSet& rCoreSet ); - static sal_uInt16* GetRanges(); virtual sal_Bool FillItemSet( SfxItemSet& rCoreSet ); virtual void Reset( const SfxItemSet& rCoreSet ); using SfxTabPage::DeactivatePage; diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx index 059a5f4f7da5..987f20bb813d 100644 --- a/sc/source/ui/inc/tpsort.hxx +++ b/sc/source/ui/inc/tpsort.hxx @@ -62,7 +62,6 @@ public: static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet ); - static sal_uInt16* GetRanges (); virtual sal_Bool FillItemSet ( SfxItemSet& rArgSet ); virtual void Reset ( const SfxItemSet& rArgSet ); @@ -141,7 +140,6 @@ public: #define SfxTabPage ::SfxTabPage static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet ); - static sal_uInt16* GetRanges (); virtual sal_Bool FillItemSet ( SfxItemSet& rArgSet ); virtual void Reset ( const SfxItemSet& rArgSet ); diff --git a/sc/source/ui/inc/tpsubt.hxx b/sc/source/ui/inc/tpsubt.hxx index 8accbe98279b..d3f987e17336 100644 --- a/sc/source/ui/inc/tpsubt.hxx +++ b/sc/source/ui/inc/tpsubt.hxx @@ -55,7 +55,6 @@ protected: public: virtual ~ScTpSubTotalGroup(); - static sal_uInt16* GetRanges (); bool DoReset ( sal_uInt16 nGroupNo, const SfxItemSet& rArgSet ); bool DoFillItemSet ( sal_uInt16 nGroupNo, @@ -153,7 +152,6 @@ protected: public: virtual ~ScTpSubTotalOptions(); - static sal_uInt16* GetRanges (); static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rArgSet ); virtual sal_Bool FillItemSet ( SfxItemSet& rArgSet ); diff --git a/sc/source/ui/inc/tpusrlst.hxx b/sc/source/ui/inc/tpusrlst.hxx index bb223580572e..0ba8e3d45757 100644 --- a/sc/source/ui/inc/tpusrlst.hxx +++ b/sc/source/ui/inc/tpusrlst.hxx @@ -47,7 +47,6 @@ class ScTpUserLists : public SfxTabPage public: static SfxTabPage* Create ( Window* pParent, const SfxItemSet& rAttrSet ); - static sal_uInt16* GetRanges (); virtual sal_Bool FillItemSet ( SfxItemSet& rCoreAttrs ); virtual void Reset ( const SfxItemSet& rCoreAttrs ); using SfxTabPage::DeactivatePage; diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx index 853c87b87664..0eb5bf78f00b 100644 --- a/sc/source/ui/optdlg/tpcalc.cxx +++ b/sc/source/ui/optdlg/tpcalc.cxx @@ -26,11 +26,8 @@ * ************************************************************************/ - #undef SC_DLLIMPLEMENTATION - - //------------------------------------------------------------------ #include "scitems.hxx" @@ -52,15 +49,6 @@ #include <math.h> -// STATIC DATA ----------------------------------------------------------- - -static sal_uInt16 pCalcOptRanges[] = -{ - SID_SCDOCOPTIONS, - SID_SCDOCOPTIONS, - 0 -}; - //======================================================================== ScTpCalcOptions::ScTpCalcOptions( Window* pParent, @@ -123,13 +111,6 @@ void ScTpCalcOptions::Init() //----------------------------------------------------------------------- -sal_uInt16* ScTpCalcOptions::GetRanges() -{ - return pCalcOptRanges; -} - -//----------------------------------------------------------------------- - SfxTabPage* ScTpCalcOptions::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return ( new ScTpCalcOptions( pParent, rAttrSet ) ); diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx index e8cac656ae9b..81850282dfab 100644 --- a/sc/source/ui/optdlg/tpprint.cxx +++ b/sc/source/ui/optdlg/tpprint.cxx @@ -40,15 +40,6 @@ // ----------------------------------------------------------------------- -static sal_uInt16 pPrintOptRanges[] = -{ - SID_SCPRINTOPTIONS, - SID_SCPRINTOPTIONS, - 0 -}; - -// ----------------------------------------------------------------------- - ScTpPrintOptions::ScTpPrintOptions( Window* pParent, const SfxItemSet& rCoreAttrs ) : SfxTabPage ( pParent, @@ -66,11 +57,6 @@ ScTpPrintOptions::~ScTpPrintOptions() { } -sal_uInt16* ScTpPrintOptions::GetRanges() -{ - return pPrintOptRanges; -} - SfxTabPage* ScTpPrintOptions::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return new ScTpPrintOptions( pParent, rAttrSet ); diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 5e69b75099b9..46b9037d6d74 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -54,16 +54,8 @@ #define CR (sal_Unicode)13 #define LF (sal_Unicode)10 -static sal_uInt16 pUserListsRanges[] = -{ - SID_SCUSERLISTS, - SID_SCUSERLISTS, - 0 -}; - static const sal_Unicode cDelimiter = ','; - //======================================================================== // Benutzerdefinierte Listen: @@ -165,13 +157,6 @@ void ScTpUserLists::Init() // ----------------------------------------------------------------------- -sal_uInt16* ScTpUserLists::GetRanges() -{ - return pUserListsRanges; -} - -// ----------------------------------------------------------------------- - SfxTabPage* ScTpUserLists::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return ( new ScTpUserLists( pParent, rAttrSet ) ); |