summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-02 20:25:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-02 20:25:08 +0200
commit74ba9d9d2352b14acc96e014876539283996c670 (patch)
tree8b51612c8976eb6a39d9618579a8c413cb61d2fe
parente8569ac0907ca6a53cc86daa476b313004fbebd9 (diff)
loplugin:redundantcast
Change-Id: I1555342cb3f8d29a0ea6e8fe51350a1bdc8529ea
-rw-r--r--connectivity/source/drivers/macab/MacabServices.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx
index 251099659bc1..161ffd0d0fbf 100644
--- a/connectivity/source/drivers/macab/MacabServices.cxx
+++ b/connectivity/source/drivers/macab/MacabServices.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))
{
}