summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx2
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
index a750a849144e..0adc1a1cbf2f 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx
@@ -79,7 +79,7 @@ class MacSpellChecker :
linguistic::PropertyHelper_Spell & GetPropHelper_Impl();
linguistic::PropertyHelper_Spell & GetPropHelper()
{
- return xPropHelper.is() ? *xPropHelper.get() : GetPropHelper_Impl();
+ return xPropHelper.is() ? *xPropHelper : GetPropHelper_Impl();
}
sal_Int16 GetSpellFailure( const OUString &rWord, const Locale &rLocale );
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 31af179f4eaf..ef3d5decb013 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -87,7 +87,7 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
xPropHelper = new PropertyHelper_Spell( static_cast<XSpellChecker *>(this), xPropSet );
xPropHelper->AddAsPropListener();
}
- return *xPropHelper.get();
+ return *xPropHelper;
}