diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:15:04 +0200 |
commit | 693002e16cca1b37ae8f8841bf7ef24e4c1d6408 (patch) | |
tree | 3ee0d543763a6933187f0da35300e64aaf5eb9f1 /mysqlc | |
parent | 9f3f59ab6c2288c73c64a4dd9a507c9663b729ae (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I161e6b396e6577dfc4b3c38bf89ed5ecd1dd5f42
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_services.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_services.cxx b/mysqlc/source/mysqlc_services.cxx index ee249a6584aa..1671b87772c3 100644 --- a/mysqlc/source/mysqlc_services.cxx +++ b/mysqlc/source/mysqlc_services.cxx @@ -49,7 +49,7 @@ struct ProviderRequest ProviderRequest( void* pServiceManager, sal_Char const* pImplementationName - ) : xServiceManager(reinterpret_cast<XMultiServiceFactory*>(pServiceManager)) + ) : xServiceManager(static_cast<XMultiServiceFactory*>(pServiceManager)) , sImplementationName(rtl::OUString::createFromAscii(pImplementationName)) { } |