diff options
Diffstat (limited to 'svtools/source/hatchwindow/hatchwindowfactory.cxx')
-rw-r--r-- | svtools/source/hatchwindow/hatchwindowfactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/hatchwindow/hatchwindowfactory.cxx b/svtools/source/hatchwindow/hatchwindowfactory.cxx index 7f1991919f5d..27b27e283e17 100644 --- a/svtools/source/hatchwindow/hatchwindowfactory.cxx +++ b/svtools/source/hatchwindow/hatchwindowfactory.cxx @@ -87,9 +87,9 @@ uno::Sequence< OUString > SAL_CALL OHatchWindowFactory::getSupportedServiceNames extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_comp_embed_HatchWindowFactory_get_implementation( css::uno::XComponentContext *, - cppu::constructor_InitializationFunc &) + css::uno::Sequence<css::uno::Any> const &) { - return static_cast<cppu::OWeakObject *>(new OHatchWindowFactory); + return cppu::acquire(new OHatchWindowFactory); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |