[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - cui/source
Caolán McNamara
caolanm at redhat.com
Wed Dec 4 03:43:45 PST 2013
cui/source/dialogs/SpellDialog.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 29fb1ed95cbd1a0baf54f8b3ce337c6f46de8e39
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 4 11:42:11 2013 +0000
Resolves: fdo#72258 options is .ui now, so drop SfxNoLayoutSingleTabDialog
Change-Id: Ie1def5b116c4b998e62f840b992633a8c0d4d61a
(cherry picked from commit f8d96ebdf71f74c3608e2c6d7cc889a055ed3c2c)
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 8c7c59c..5264750 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();
More information about the Libreoffice-commits
mailing list