diff options
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 4 | ||||
-rw-r--r-- | desktop/source/migration/services/wordbookmigration.cxx | 2 | ||||
-rw-r--r-- | desktop/source/splash/unxsplash.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index fb98cdd6bf15..2bea724819c0 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -672,7 +672,7 @@ void DialogHelper::PostUserEvent( const Link<>& rLink, void* pCaller, bool bRefe // ExtMgrDialog ExtMgrDialog::ExtMgrDialog(vcl::Window *pParent, TheExtensionManager *pManager, Dialog::InitFlag eFlag) : ModelessDialog(pParent, "ExtensionManagerDialog", "desktop/ui/extensionmanager.ui", eFlag) - , DialogHelper(pManager->getContext(), (Dialog*) this) + , DialogHelper(pManager->getContext(), static_cast<Dialog*>(this)) , m_sAddPackages(getResourceString(RID_STR_ADD_PACKAGES)) , m_bHasProgress(false) , m_bProgressChanged(false) @@ -1183,7 +1183,7 @@ bool ExtMgrDialog::Close() //UpdateRequiredDialog UpdateRequiredDialog::UpdateRequiredDialog(vcl::Window *pParent, TheExtensionManager *pManager) : ModalDialog(pParent, "UpdateRequiredDialog", "desktop/ui/updaterequireddialog.ui") - , DialogHelper(pManager->getContext(), (Dialog*) this) + , DialogHelper(pManager->getContext(), static_cast<Dialog*>(this)) , m_sAddPackages(getResourceString(RID_STR_ADD_PACKAGES)) , m_sCloseText(getResourceString(RID_STR_CLOSE_BTN)) , m_bHasProgress(false) diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 6870450fc559..0f4427ce8bde 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -159,7 +159,7 @@ bool IsUserWordbook( const OUString& rFile ) static sal_Size nVerOOo7Len = sal::static_int_cast< sal_Size >(strlen( pVerOOo7 )); sal_Char pMagicHeader[MAX_HEADER_LENGTH]; pMagicHeader[ nVerOOo7Len ] = '\0'; - if ((pStream->Read((void *) pMagicHeader, nVerOOo7Len) == nVerOOo7Len)) + if ((pStream->Read(static_cast<void *>(pMagicHeader), nVerOOo7Len) == nVerOOo7Len)) { if ( !strcmp(pMagicHeader, pVerOOo7) ) bRet = true; diff --git a/desktop/source/splash/unxsplash.cxx b/desktop/source/splash/unxsplash.cxx index c41f233227cb..6e4fe71ace0a 100644 --- a/desktop/source/splash/unxsplash.cxx +++ b/desktop/source/splash/unxsplash.cxx @@ -148,7 +148,7 @@ uno::Reference< uno::XInterface > UnxSplash_createInstance(const uno::Reference< { osl::MutexGuard guard( m_aMutex ); if ( !m_xINSTANCE.is() ) - m_xINSTANCE = (cppu::OWeakObject*) new UnxSplashScreen( xCtx ); + m_xINSTANCE = static_cast<cppu::OWeakObject*>(new UnxSplashScreen( xCtx )); } return m_xINSTANCE; |