summaryrefslogtreecommitdiff
path: root/cui/source/options/optlingu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optlingu.cxx')
-rw-r--r--cui/source/options/optlingu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index ae66374f4887..7ab82dd221fe 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1033,7 +1033,7 @@ void SvxLinguData_Impl::Reconfigure( const OUString &rDisplayName, bool bEnable
// class SvxLinguTabPage -------------------------------------------------
SvxLinguTabPage::SvxLinguTabPage( Window* pParent, const SfxItemSet& rSet ) :
- SfxTabPage(pParent, "OptLinguPage", "cui/ui/optlingupage.ui", rSet),
+ SfxTabPage(pParent, "OptLinguPage", "cui/ui/optlingupage.ui", &rSet),
sCapitalWords (CUI_RES(RID_SVXSTR_CAPITAL_WORDS)),
sWordsWithDigits(CUI_RES(RID_SVXSTR_WORDS_WITH_DIGITS)),
@@ -1149,9 +1149,9 @@ const sal_uInt16* SvxLinguTabPage::GetRanges()
SfxTabPage* SvxLinguTabPage::Create( Window* pParent,
- const SfxItemSet& rAttrSet )
+ const SfxItemSet* rAttrSet )
{
- return ( new SvxLinguTabPage( pParent, rAttrSet ) );
+ return ( new SvxLinguTabPage( pParent, *rAttrSet ) );
}