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

Stephan Bergmann sbergman at redhat.com
Thu Apr 2 11:39:22 PDT 2015


 fpicker/source/aqua/FPentry.mm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 00a19743cd02d5d2c5c6169a4c49ef191e8d39b7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 2 20:38:43 2015 +0200

    loplugin:redundantcast
    
    Change-Id: I6081fb76b0b6fc6fbce9c1f37a5a8103e70c9ef9

diff --git a/fpicker/source/aqua/FPentry.mm b/fpicker/source/aqua/FPentry.mm
index 9b97f1e..5c26890 100644
--- a/fpicker/source/aqua/FPentry.mm
+++ b/fpicker/source/aqua/FPentry.mm
@@ -64,7 +64,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL fps_aqua_component_getFactory(
                 aSNS.getArray( )[0] = FILE_PICKER_SERVICE_NAME;
 
                 xFactory = createSingleFactory(
-                    reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+                    static_cast< XMultiServiceFactory* > ( pSrvManager ),
                     OUString::createFromAscii( pImplName ),
                     createFileInstance,
                     aSNS );
@@ -75,7 +75,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL fps_aqua_component_getFactory(
                 aSNS.getArray( )[0] = FOLDER_PICKER_SERVICE_NAME;
 
                 xFactory = createSingleFactory(
-                    reinterpret_cast< XMultiServiceFactory* > ( pSrvManager ),
+                    static_cast< XMultiServiceFactory* > ( pSrvManager ),
                     OUString::createFromAscii( pImplName ),
                     createFolderInstance,
                     aSNS );


More information about the Libreoffice-commits mailing list