summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-18 12:59:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-18 14:47:28 +0100
commit75b8d8f597d360e8d789358ca99e78e4742749c5 (patch)
tree5a2fa85b8dde8aadb36e5754c74b5bae39638ec9 /sc/source
parent5870db7df278780724f8fba7aa32bec3550a9874 (diff)
expose m_pActionArea so subclasses can add buttons to the right place
Change-Id: If0169cc12dc7b2b70996a5798b8c59b2e6e2edae
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/dbgui/subtdlg.cxx2
1 files changed, 1 insertions, 1 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 );