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 <sberg...@redhat.com>
AuthorDate: Wed Oct 9 23:15:09 2019 +0200
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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;
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to