[Libreoffice-commits] core.git: lingucomponent/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Oct 9 22:07:18 UTC 2019
lingucomponent/source/spellcheck/macosxspell/macspellimp.hxx | 2 +-
lingucomponent/source/spellcheck/macosxspell/macspellimp.mm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c63ec2a923b8e06df01593677ca90a271084ca04
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Oct 9 23:15:09 2019 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Oct 10 00:05:53 2019 +0200
loplugin:redundantpointerops (macOS)
Change-Id: I40d51fbdd712d1e6e64cede05338c07a06261d8a
Reviewed-on: https://gerrit.libreoffice.org/80568
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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;
}
More information about the Libreoffice-commits
mailing list