[Libreoffice-commits] core.git: lingucomponent/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 10 12:43:56 UTC 2019


 lingucomponent/source/spellcheck/macosxspell/macspellimp.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 71074815b80282009923edef75f95ba7f0424c57
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sat Aug 10 12:58:09 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Aug 10 14:43:11 2019 +0200

    loplugin:referencecasting (macOS)
    
    Change-Id: I81f5de54c6657f7f8e5ffbd8c4a7c1b7f3cb70c2
    Reviewed-on: https://gerrit.libreoffice.org/77238
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 0fad4078e32e..edc801c4b20a 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -83,7 +83,7 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
 {
     if (!pPropHelper)
     {
-        Reference< XLinguProperties >   xPropSet( GetLinguProperties(), UNO_QUERY );
+        Reference< XLinguProperties >   xPropSet( GetLinguProperties() );
 
         pPropHelper = new PropertyHelper_Spell( static_cast<XSpellChecker *>(this), xPropSet );
         xPropHelper = pPropHelper;


More information about the Libreoffice-commits mailing list