summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 20:38:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 20:38:43 +0200
commit00a19743cd02d5d2c5c6169a4c49ef191e8d39b7 (patch)
tree22bc47ebb114a3c20f820ba56e87030c943417dc /fpicker
parent74ba9d9d2352b14acc96e014876539283996c670 (diff)
loplugin:redundantcast
Change-Id: I6081fb76b0b6fc6fbce9c1f37a5a8103e70c9ef9
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/FPentry.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/aqua/FPentry.mm b/fpicker/source/aqua/FPentry.mm
index 9b97f1e53adf..5c2689010141 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 );