summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-04 11:42:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-04 11:42:32 +0000
commitf8d96ebdf71f74c3608e2c6d7cc889a055ed3c2c (patch)
tree337e31f0b6fc1f74247e3fe3341d6d0f6ddfbf3f /cui
parent6931f431331d4cb5b5619c29d5f615f4245a66be (diff)
Resolves: fdo#72258 options is .ui now, so drop SfxNoLayoutSingleTabDialog
Change-Id: Ie1def5b116c4b998e62f840b992633a8c0d4d61a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 8c7c59c0e3dc..5264750ad4fd 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -502,11 +502,11 @@ void SpellDialog::StartSpellOptDlg_Impl()
};
SfxItemSet aSet( SFX_APP()->GetPool(), aSpellInfos);
aSet.Put(SfxSpellCheckItem( xSpell, SID_ATTR_SPELL ));
- SfxNoLayoutSingleTabDialog* pDlg =
- new SfxNoLayoutSingleTabDialog( this, aSet, RID_SFXPAGE_LINGU );
- SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg, aSet );
+ SfxSingleTabDialog* pDlg =
+ new SfxSingleTabDialog(this, aSet);
+ SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg->get_content_area(), aSet );
( (SvxLinguTabPage*)pPage )->HideGroups( GROUP_MODULES );
- pDlg->SetTabPage( pPage );
+ pDlg->setTabPage( pPage );
if(RET_OK == pDlg->Execute())
{
InitUserDicts();