summaryrefslogtreecommitdiff
path: root/desktop/source/splash/unxsplash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/splash/unxsplash.cxx')
-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 0396a5bf5cbf..b218b75919b9 100644
--- a/desktop/source/splash/unxsplash.cxx
+++ b/desktop/source/splash/unxsplash.cxx
@@ -122,7 +122,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
desktop_UnxSplash_get_implementation(
css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire(static_cast<cppu::OWeakObject*>(new desktop::UnxSplashScreen()));
+ return cppu::acquire(new desktop::UnxSplashScreen());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */