summaryrefslogtreecommitdiff
path: root/vcl/source/app/session.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/session.cxx')
-rw-r--r--vcl/source/app/session.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx
index a289c601d551..a1b37b27d464 100644
--- a/vcl/source/app/session.cxx
+++ b/vcl/source/app/session.cxx
@@ -393,7 +393,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
com_sun_star_frame_VCLSessionManagerClient_get_implementation(
css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any> const&)
{
- return cppu::acquire(static_cast< cppu::OWeakObject * >(new VCLSession));
+ return cppu::acquire(new VCLSession);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */