summaryrefslogtreecommitdiff
path: root/starmath/source/register.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:16:39 +0200
commitc96f4e5684d3e7f145dcee5e3eeafd7491671d9b (patch)
tree692b15a2322f416afe0f506b0e86f7b699169286 /starmath/source/register.cxx
parent03b2b85262244ad6e4c48f0a78d8ec008062d75b (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Ica7659b636d1277716153ef39025cf539b355fb2
Diffstat (limited to 'starmath/source/register.cxx')
-rw-r--r--starmath/source/register.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/register.cxx b/starmath/source/register.cxx
index 063872a23c0a..8bd00e8b4081 100644
--- a/starmath/source/register.cxx
+++ b/starmath/source/register.cxx
@@ -49,7 +49,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL sm_component_getFactory( const sal_Char* pIm
{
// Define variables which are used in following macros.
Reference< XSingleServiceFactory > xFactory ;
- Reference< XMultiServiceFactory > xServiceManager( reinterpret_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
+ Reference< XMultiServiceFactory > xServiceManager( static_cast< XMultiServiceFactory* >( pServiceManager ) ) ;
if( SmXMLImport_getImplementationName().equalsAscii( pImplementationName ))
{