diff options
Diffstat (limited to 'filter/source/odfflatxml/OdfFlatXml.cxx')
-rw-r--r-- | filter/source/odfflatxml/OdfFlatXml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index 082f701d125e..69deeb36ee71 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -254,7 +254,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface* filter_OdfFlatXml_get_implementation( css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any> const&) { - return cppu::acquire(static_cast<cppu::OWeakObject*>(new OdfFlatXml(context))); + return cppu::acquire(new OdfFlatXml(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |