summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-08 17:18:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-08 20:44:26 +0100
commit10cfd814696409b1fa64a1de8da0e9f359e8a85c (patch)
treedd0727e09e9ee76f6b12347770266a1f6e749c5b /cui
parentc3c6a5f68050a2abb49f37e6231fc77c1c4df543 (diff)
don't care if SfxNoLayoutSingleTabDialog or SfxSingleTabDialog here
Change-Id: Ic269a729a59c8dedb29b1f54b7413d65259363c0
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/numfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 4503e471bb55..31dcfc70cbd5 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1115,7 +1115,7 @@ IMPL_LINK( SvxNumberFormatTabPage, DoubleClickHdl_Impl, SvxFontListBox*, pLb )
}
else
{
- SfxNoLayoutSingleTabDialog* pParent = dynamic_cast< SfxNoLayoutSingleTabDialog* >( GetParentDialog() );
+ SfxSingleTabDialogBase* pParent = dynamic_cast< SfxSingleTabDialogBase* >( GetParentDialog() );
OKButton* pOKButton = pParent ? pParent->GetOKButton() : NULL;
if ( pOKButton )
pOKButton->Click();