summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/plugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/plugin.cxx')
-rw-r--r--sfx2/source/doc/plugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/plugin.cxx b/sfx2/source/doc/plugin.cxx
index 60eddc1cf2a4..43f73973382d 100644
--- a/sfx2/source/doc/plugin.cxx
+++ b/sfx2/source/doc/plugin.cxx
@@ -309,9 +309,9 @@ void SAL_CALL PluginObject::removeVetoableChangeListener(const OUString&, const
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_sfx2_PluginObject_get_implementation(
css::uno::XComponentContext *,
- cppu::constructor_InitializationFunc &)
+ css::uno::Sequence<css::uno::Any> const &)
{
- return static_cast<cppu::OWeakObject *>(new PluginObject());
+ return cppu::acquire(new PluginObject());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */