summaryrefslogtreecommitdiff
path: root/scaddins/source/analysis
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:04 +0200
commit7956c4c5178a77bf1c46cb1f129b8318c28fbb46 (patch)
treeb7be565243dc5353ff0a783a8bec279781b57c8d /scaddins/source/analysis
parentbbaa7def08d80e998302e03058e132c87a728bc7 (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I47be8a3e4be0a19fb476ab551e8bf394244a66a4
Diffstat (limited to 'scaddins/source/analysis')
-rw-r--r--scaddins/source/analysis/analysis.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scaddins/source/analysis/analysis.cxx b/scaddins/source/analysis/analysis.cxx
index e801f19bfed7..a5b84f6d6a85 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -49,7 +49,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL analysis_component_getFactory(
if( pServiceManager && OUString::createFromAscii( pImplName ) == AnalysisAddIn::getImplementationName_Static() )
{
uno::Reference< lang::XSingleServiceFactory > xFactory( cppu::createOneInstanceFactory(
- reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
+ static_cast< lang::XMultiServiceFactory* >( pServiceManager ),
AnalysisAddIn::getImplementationName_Static(),
AnalysisAddIn_CreateInstance,
AnalysisAddIn::getSupportedServiceNames_Static() ) );