don't care if SfxNoLayoutSingleTabDialog or SfxSingleTabDialog here

Change-Id: Ic269a729a59c8dedb29b1f54b7413d65259363c0
This commit is contained in:
Caolán McNamara
2013-09-08 17:18:54 +01:00
parent c3c6a5f680
commit 10cfd81469

View File

@@ -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();