summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/renderer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/graphic/renderer.cxx')
-rw-r--r--svtools/source/graphic/renderer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx
index 8e8c38b89aed..1577ba747c64 100644
--- a/svtools/source/graphic/renderer.cxx
+++ b/svtools/source/graphic/renderer.cxx
@@ -295,9 +295,9 @@ void SAL_CALL GraphicRendererVCL::render( const uno::Reference< graphic::XGraphi
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_graphic_GraphicRendererVCL_get_implementation(
css::uno::XComponentContext *,
- cppu::constructor_InitializationFunc &)
+ css::uno::Sequence<css::uno::Any> const &)
{
- return static_cast<cppu::OWeakObject *>(new GraphicRendererVCL);
+ return cppu::acquire(new GraphicRendererVCL);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */