summaryrefslogtreecommitdiff
path: root/desktop/source/splash
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/splash')
-rw-r--r--desktop/source/splash/unxsplash.cxx2
1 files changed, 1 insertions, 1 deletions
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;