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

Stephan Bergmann sbergman at redhat.com
Thu Apr 2 11:25:43 PDT 2015


 connectivity/source/drivers/macab/MacabServices.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 74ba9d9d2352b14acc96e014876539283996c670
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 2 20:25:08 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I1555342cb3f8d29a0ea6e8fe51350a1bdc8529ea

diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx
index 2510996..161ffd0 100644
--- a/connectivity/source/drivers/macab/MacabServices.cxx
+++ b/connectivity/source/drivers/macab/MacabServices.cxx
@@ -47,7 +47,7 @@ struct ProviderRequest
         void* pServiceManager,
         sal_Char const* pImplementationName
     )
-    : xServiceManager(reinterpret_cast<XMultiServiceFactory*>(pServiceManager))
+    : xServiceManager(static_cast<XMultiServiceFactory*>(pServiceManager))
     , sImplementationName(OUString::createFromAscii(pImplementationName))
     {
     }


More information about the Libreoffice-commits mailing list