diff options
Diffstat (limited to 'sc/source/ui/dbgui/tpsubt.cxx')
-rw-r--r-- | sc/source/ui/dbgui/tpsubt.cxx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx index 3958ee6e287f..d2c53569f760 100644 --- a/sc/source/ui/dbgui/tpsubt.cxx +++ b/sc/source/ui/dbgui/tpsubt.cxx @@ -65,8 +65,6 @@ ScTpSubTotalGroup::ScTpSubTotalGroup( Window* pParent, Init (); } - - ScTpSubTotalGroup::~ScTpSubTotalGroup() { sal_uLong nCount = mpLbColumns->GetEntryCount(); @@ -85,8 +83,6 @@ ScTpSubTotalGroup::~ScTpSubTotalGroup() } } - - void ScTpSubTotalGroup::Init() { const ScSubTotalItem& rSubTotalItem = (const ScSubTotalItem&) @@ -106,8 +102,6 @@ void ScTpSubTotalGroup::Init() FillListBoxes(); } - - bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo, const SfxItemSet& rArgSet ) { @@ -120,8 +114,6 @@ bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo, else nGroupIdx = nGroupNo-1; - - // first we have to clear the listboxes... for ( sal_uLong nLbEntry = 0; nLbEntry < mpLbColumns->GetEntryCount(); ++nLbEntry ) { @@ -168,8 +160,6 @@ bool ScTpSubTotalGroup::DoReset( sal_uInt16 nGroupNo, return true; } - - bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo, SfxItemSet& rArgSet ) { @@ -191,8 +181,6 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo, else nGroupIdx = nGroupNo-1; - - ScSubTotalParam theSubTotalData; // auslesen, wenn schon teilweise gefuellt SfxTabDialog* pDlg = GetTabDialog(); if ( pDlg ) @@ -249,8 +237,6 @@ bool ScTpSubTotalGroup::DoFillItemSet( sal_uInt16 nGroupNo, return true; } - - void ScTpSubTotalGroup::FillListBoxes() { OSL_ENSURE( pViewData && pDoc, "ViewData or Document not found :-/" ); @@ -287,8 +273,6 @@ void ScTpSubTotalGroup::FillListBoxes() } } - - sal_uInt16 ScTpSubTotalGroup::GetFieldSelPos( SCCOL nField ) { sal_uInt16 nFieldPos = 0; @@ -306,8 +290,6 @@ sal_uInt16 ScTpSubTotalGroup::GetFieldSelPos( SCCOL nField ) return nFieldPos; } - - ScSubTotalFunc ScTpSubTotalGroup::LbPosToFunc( sal_uInt16 nPos ) { switch ( nPos ) @@ -330,8 +312,6 @@ ScSubTotalFunc ScTpSubTotalGroup::LbPosToFunc( sal_uInt16 nPos ) } } - - sal_uInt16 ScTpSubTotalGroup::FuncToLbPos( ScSubTotalFunc eFunc ) { switch ( eFunc ) @@ -384,8 +364,6 @@ IMPL_LINK( ScTpSubTotalGroup, SelectHdl, ListBox *, pLb ) return 0; } - - IMPL_LINK( ScTpSubTotalGroup, CheckHdl, ListBox *, pLb ) { if ( ((SvxCheckListBox*)pLb) == mpLbColumns ) @@ -408,20 +386,14 @@ SfxTabPage* ScTpSubTotalGroup1::Create( Window* pParent, const SfxItemSet& rArgSet ) { return ( new ScTpSubTotalGroup1( pParent, rArgSet ) ); } - - SfxTabPage* ScTpSubTotalGroup2::Create( Window* pParent, const SfxItemSet& rArgSet ) { return ( new ScTpSubTotalGroup2( pParent, rArgSet ) ); } - - SfxTabPage* ScTpSubTotalGroup3::Create( Window* pParent, const SfxItemSet& rArgSet ) { return ( new ScTpSubTotalGroup3( pParent, rArgSet ) ); } - - ScTpSubTotalGroup1::ScTpSubTotalGroup1( Window* pParent, const SfxItemSet& rArgSet ) : ScTpSubTotalGroup( pParent, rArgSet ) {} @@ -435,16 +407,12 @@ ScTpSubTotalGroup3::ScTpSubTotalGroup3( Window* pParent, const SfxItemSet& rArgS {} - - #define RESET(i) (ScTpSubTotalGroup::DoReset( (i), rArgSet )) void ScTpSubTotalGroup1::Reset( const SfxItemSet& rArgSet ) { RESET(1); } void ScTpSubTotalGroup2::Reset( const SfxItemSet& rArgSet ) { RESET(2); } void ScTpSubTotalGroup3::Reset( const SfxItemSet& rArgSet ) { RESET(3); } #undef RESET - - #define FILLSET(i) (ScTpSubTotalGroup::DoFillItemSet( (i), rArgSet )) bool ScTpSubTotalGroup1::FillItemSet( SfxItemSet& rArgSet ) { return FILLSET(1); } bool ScTpSubTotalGroup2::FillItemSet( SfxItemSet& rArgSet ) { return FILLSET(2); } @@ -480,14 +448,10 @@ ScTpSubTotalOptions::ScTpSubTotalOptions( Window* pParent, Init(); } - - ScTpSubTotalOptions::~ScTpSubTotalOptions() { } - - void ScTpSubTotalOptions::Init() { const ScSubTotalItem& rSubTotalItem = (const ScSubTotalItem&) @@ -504,16 +468,12 @@ void ScTpSubTotalOptions::Init() FillUserSortListBox(); } - - SfxTabPage* ScTpSubTotalOptions::Create( Window* pParent, const SfxItemSet& rArgSet ) { return ( new ScTpSubTotalOptions( pParent, rArgSet ) ); } - - void ScTpSubTotalOptions::Reset( const SfxItemSet& /* rArgSet */ ) { pBtnPagebreak->Check ( rSubTotalData.bPagebreak ); @@ -539,8 +499,6 @@ void ScTpSubTotalOptions::Reset( const SfxItemSet& /* rArgSet */ ) CheckHdl( pBtnSort ); } - - bool ScTpSubTotalOptions::FillItemSet( SfxItemSet& rArgSet ) { ScSubTotalParam theSubTotalData; // auslesen, wenn schon teilweise gefuellt @@ -569,8 +527,6 @@ bool ScTpSubTotalOptions::FillItemSet( SfxItemSet& rArgSet ) return true; } - - void ScTpSubTotalOptions::FillUserSortListBox() { ScUserList* pUserLists = ScGlobal::GetUserList(); |