diff options
-rw-r--r-- | starmath/source/detreg.cxx | 2 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/register.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/detreg.cxx b/starmath/source/detreg.cxx index 356428c304da..1ce1296e309f 100644 --- a/starmath/source/detreg.cxx +++ b/starmath/source/detreg.cxx @@ -44,7 +44,7 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL smd_component_getFactory( const sal_Char* pI { // 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( SmFilterDetect::impl_getStaticImplementationName().equalsAscii( pImplementationName ) ) { diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index c4a400c6b427..5c8e3cc41e35 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -1778,7 +1778,7 @@ IMPL_LINK( SmSymDefineDialog, SubsetChangeHdl, ListBox *, EMPTYARG pListBox ) sal_Int32 nPos = pFontsSubsetLB->GetSelectEntryPos(); if (LISTBOX_ENTRY_NOTFOUND != nPos) { - const Subset* pSubset = reinterpret_cast<const Subset*> (pFontsSubsetLB->GetEntryData( nPos )); + const Subset* pSubset = static_cast<const Subset*> (pFontsSubsetLB->GetEntryData( nPos )); if (pSubset) { pCharsetDisplay->SelectCharacter( pSubset->GetRangeMin() ); 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 )) { |