summaryrefslogtreecommitdiff
path: root/desktop/source/splash
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:24:35 +0200
commit1cb4a7554a21952a323f3e2bbf533b005daf4d00 (patch)
treec55ed5741d6c0fc6172320f768b4a6b012ec8372 /desktop/source/splash
parent85380260003dd481b97436adb14daf08ffd897c3 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I897ebb00ce427a00f1d9b0c199d465bb0ac80309
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;