summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/dbgui/subtdlg.cxx2
-rw-r--r--sfx2/inc/sfx2/tabdlg.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/subtdlg.cxx b/sc/source/ui/dbgui/subtdlg.cxx
index eb49b7517c5f..6be149efe12a 100644
--- a/sc/source/ui/dbgui/subtdlg.cxx
+++ b/sc/source/ui/dbgui/subtdlg.cxx
@@ -35,7 +35,7 @@ ScSubTotalDlg::ScSubTotalDlg( Window* pParent,
SfxTabDialog( pParent,
ScResId( RID_SCDLG_SUBTOTALS ),
pArgSet ),
- aBtnRemove ( this, ScResId( BTN_REMOVE ) )
+ aBtnRemove ( m_pActionArea, ScResId( BTN_REMOVE ) )
{
AddTabPage( PAGE_GROUP1, ScTpSubTotalGroup1::Create, 0 );
AddTabPage( PAGE_GROUP2, ScTpSubTotalGroup2::Create, 0 );
diff --git a/sfx2/inc/sfx2/tabdlg.hxx b/sfx2/inc/sfx2/tabdlg.hxx
index fe244b853aff..c3e010a86c62 100644
--- a/sfx2/inc/sfx2/tabdlg.hxx
+++ b/sfx2/inc/sfx2/tabdlg.hxx
@@ -68,7 +68,6 @@ friend class SfxTabDialogController;
VclVBox *m_pVBox;
TabControl *m_pTabCtrl;
- VclHButtonBox *m_pActionArea;
OKButton *m_pOKBtn;
PushButton* m_pApplyBtn;
PushButton* m_pUserBtn;
@@ -115,6 +114,7 @@ protected:
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
virtual long Notify( NotifyEvent& rNEvt );
+ VclHButtonBox* m_pActionArea;
SfxItemSet* pExampleSet;
SfxItemSet* GetInputSetImpl();
SfxTabPage* GetTabPage( sal_uInt16 nPageId ) const;