summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/hsqldb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:41 +0200
commit5209884f618ab5a20a8aecbfb832e99474b4654d (patch)
treeae4093f6b65445a092704f55fdd3c490f669c922 /connectivity/source/drivers/hsqldb
parent581c5075bbbb8068e2285c3392b712f41083cfb4 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I24dc3a9b16abb1397cdd6a4f6cfafb81cc61d0f9
Diffstat (limited to 'connectivity/source/drivers/hsqldb')
-rw-r--r--connectivity/source/drivers/hsqldb/Hservices.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/hsqldb/Hservices.cxx b/connectivity/source/drivers/hsqldb/Hservices.cxx
index 1cd0d912e72e..c9cf2e4259fb 100644
--- a/connectivity/source/drivers/hsqldb/Hservices.cxx
+++ b/connectivity/source/drivers/hsqldb/Hservices.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))
{
}