summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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 ) )
{