diff options
Diffstat (limited to 'package/source/xstor/xfactory.cxx')
-rw-r--r-- | package/source/xstor/xfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 89e94dc4e3d3..192acb7fbeca 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -288,7 +288,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* package_OStorageFactory_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new OStorageFactory(context))); + return cppu::acquire(new OStorageFactory(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |