summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/services.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/services.cxx')
-rw-r--r--canvas/source/vcl/services.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/vcl/services.cxx b/canvas/source/vcl/services.cxx
index 283b1a9b35ad..001160c90f48 100644
--- a/canvas/source/vcl/services.cxx
+++ b/canvas/source/vcl/services.cxx
@@ -41,10 +41,10 @@
using namespace ::com::sun::star;
+namespace sdecl = comphelper::service_decl;
+
namespace vclcanvas
{
- namespace sdecl = comphelper::service_decl;
-
static uno::Reference<uno::XInterface> initCanvas( Canvas* pCanvas )
{
uno::Reference<uno::XInterface> xRet(static_cast<cppu::OWeakObject*>(pCanvas));
@@ -77,7 +77,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void* SAL_CALL vclcanvas_component_getFactory( sal_Char const* pImplName,
void*, void* )
{
- return component_getFactoryHelper( pImplName, vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl );
+ return sdecl::component_getFactoryHelper( pImplName, {&vclcanvas::vclCanvasDecl, &vclcanvas::vclSpriteCanvasDecl} );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */