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