Resolves: fdo#72258 options is .ui now, so drop SfxNoLayoutSingleTabDialog
Change-Id: Ie1def5b116c4b998e62f840b992633a8c0d4d61a
This commit is contained in:
parent
6931f43133
commit
f8d96ebdf7
@ -502,11 +502,11 @@ void SpellDialog::StartSpellOptDlg_Impl()
|
|||||||
};
|
};
|
||||||
SfxItemSet aSet( SFX_APP()->GetPool(), aSpellInfos);
|
SfxItemSet aSet( SFX_APP()->GetPool(), aSpellInfos);
|
||||||
aSet.Put(SfxSpellCheckItem( xSpell, SID_ATTR_SPELL ));
|
aSet.Put(SfxSpellCheckItem( xSpell, SID_ATTR_SPELL ));
|
||||||
SfxNoLayoutSingleTabDialog* pDlg =
|
SfxSingleTabDialog* pDlg =
|
||||||
new SfxNoLayoutSingleTabDialog( this, aSet, RID_SFXPAGE_LINGU );
|
new SfxSingleTabDialog(this, aSet);
|
||||||
SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg, aSet );
|
SfxTabPage* pPage = SvxLinguTabPage::Create( pDlg->get_content_area(), aSet );
|
||||||
( (SvxLinguTabPage*)pPage )->HideGroups( GROUP_MODULES );
|
( (SvxLinguTabPage*)pPage )->HideGroups( GROUP_MODULES );
|
||||||
pDlg->SetTabPage( pPage );
|
pDlg->setTabPage( pPage );
|
||||||
if(RET_OK == pDlg->Execute())
|
if(RET_OK == pDlg->Execute())
|
||||||
{
|
{
|
||||||
InitUserDicts();
|
InitUserDicts();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user