summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:12:04 +0200
commit7e3139de9ca42ffc298b45026baeae77a18b4f0a (patch)
treebffac7ef77866bea740975c2d6c5175c77e0f541 /basctl
parenta0737fb5911d87382370b22cf171b4750575c83e (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: Icaec7ce94a915945ff464d0734115c729e740c83
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/register.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/register.cxx b/basctl/source/basicide/register.cxx
index d222782964c5..df819c33680d 100644
--- a/basctl/source/basicide/register.cxx
+++ b/basctl/source/basicide/register.cxx
@@ -48,7 +48,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL basctl_component_getFactory( const sal_Char*
{
// 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( SIDEModel::getImplementationName_Static().equalsAscii( pImplementationName ) )
{