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

Stephan Bergmann sbergman at redhat.com
Thu Apr 2 12:02:36 PDT 2015


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

New commits:
commit 4d2923e1876e1c3a1da9056e4508be71e6cac9f3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 2 21:02:04 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I3ef78881cfed8b66f067e9164efcccf425fb549c

diff --git a/lingucomponent/source/spellcheck/macosxspell/macreg.mm b/lingucomponent/source/spellcheck/macosxspell/macreg.mm
index b3504c1..648fc84 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macreg.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macreg.mm
@@ -38,7 +38,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL MacOSXSpell_component_getFactory(
     void * pRet = NULL;
     pRet = MacSpellChecker_getFactory(
         pImplName,
-        reinterpret_cast< XMultiServiceFactory * >( pServiceManager ),
+        static_cast< XMultiServiceFactory * >( pServiceManager ),
         pRegistryKey );
 
     return pRet;


More information about the Libreoffice-commits mailing list