summaryrefslogtreecommitdiff
path: root/vcl/source/components
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:42 +0200
commit62e798c4a520a8b96e9113e363b1f26767231636 (patch)
tree7e0003b646bd68af83443890244dec1371499de7 /vcl/source/components
parent9676efca531290ebde3839c5246abdde159499cf (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I65d76524847b57dcb17ee3f66e156ec1fd51b239
Diffstat (limited to 'vcl/source/components')
-rw-r--r--vcl/source/components/factory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx
index e2adb731b48e..403232c0c91f 100644
--- a/vcl/source/components/factory.cxx
+++ b/vcl/source/components/factory.cxx
@@ -43,7 +43,7 @@ extern "C" {
if( pXUnoSMgr )
{
Reference< ::com::sun::star::lang::XMultiServiceFactory > xMgr(
- reinterpret_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pXUnoSMgr )
+ static_cast< ::com::sun::star::lang::XMultiServiceFactory* >( pXUnoSMgr )
);
Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory;
if( vcl_session_getImplementationName().equalsAscii( pImplementationName ) )