summaryrefslogtreecommitdiff
path: root/desktop/source/offacc/acceptor.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:13:34 +0200
commiteb1b5b8b0b3936a0f6cba8978c4693d6f67b5f89 (patch)
tree2c3d098bd5a23c9fb3696a2933f78183dbdf5187 /desktop/source/offacc/acceptor.cxx
parentf42825fa8af2a2e0760ea6097fcc13ea889d087a (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I128d5b429a8f649f9236b2e007a90c24cac5b142
Diffstat (limited to 'desktop/source/offacc/acceptor.cxx')
-rw-r--r--desktop/source/offacc/acceptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx
index f533be2882c2..f60eacc35f02 100644
--- a/desktop/source/offacc/acceptor.cxx
+++ b/desktop/source/offacc/acceptor.cxx
@@ -274,7 +274,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL offacc_component_getFactory(char const *pIm
// Define variables which are used in following macros.
Reference< XSingleServiceFactory > xFactory;
Reference< XMultiServiceFactory > xServiceManager(
- reinterpret_cast< XMultiServiceFactory* >(pServiceManager));
+ static_cast< XMultiServiceFactory* >(pServiceManager));
if (desktop::Acceptor::impl_getImplementationName().equalsAscii( pImplementationName ) )
{