diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-12 16:04:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 09:46:14 +0200 |
commit | 1afb790a118f07e888f7a1a94a8fd06d0d8713dd (patch) | |
tree | b82bee79e3dd74f7a5b8ae7387ccb002b0de1831 /canvas | |
parent | c3a8adb2e06888fc237aa6e3d43c32d805a46537 (diff) |
inline COMPHELPER_SERVICEDECL_ macro
it was not adding any value
Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/cairo/cairo_services.cxx | 7 | ||||
-rw-r--r-- | canvas/source/directx/dx_canvas.cxx | 9 | ||||
-rw-r--r-- | canvas/source/directx/dx_spritecanvas.cxx | 7 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_spritecanvas.cxx | 7 | ||||
-rw-r--r-- | canvas/source/simplecanvas/simplecanvasimpl.cxx | 6 | ||||
-rw-r--r-- | canvas/source/vcl/services.cxx | 7 |
6 files changed, 35 insertions, 8 deletions
diff --git a/canvas/source/cairo/cairo_services.cxx b/canvas/source/cairo/cairo_services.cxx index 936fc9889ea8..39a1afd1fcb9 100644 --- a/canvas/source/cairo/cairo_services.cxx +++ b/canvas/source/cairo/cairo_services.cxx @@ -73,6 +73,11 @@ namespace cairocanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(cairocanvas, cairocanvas::cairoCanvasDecl, cairocanvas::cairoSpriteCanvasDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL cairocanvas_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, cairocanvas::cairoCanvasDecl, cairocanvas::cairoSpriteCanvasDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/directx/dx_canvas.cxx b/canvas/source/directx/dx_canvas.cxx index 0cfb5420d0cb..727d9093a181 100644 --- a/canvas/source/directx/dx_canvas.cxx +++ b/canvas/source/directx/dx_canvas.cxx @@ -240,8 +240,11 @@ namespace dxcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(gdipluscanvas, - dxcanvas::dxCanvasDecl, - dxcanvas::dxBitmapCanvasDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL gdipluscanvas_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, dxcanvas::dxCanvasDecl, dxcanvas::dxBitmapCanvasDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx index ab76e7766af2..3ec2214bf786 100644 --- a/canvas/source/directx/dx_spritecanvas.cxx +++ b/canvas/source/directx/dx_spritecanvas.cxx @@ -191,6 +191,11 @@ namespace dxcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(directx9canvas, dxcanvas::dxSpriteCanvasDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL directx9canvas_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, dxcanvas::dxSpriteCanvasDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/opengl/ogl_spritecanvas.cxx b/canvas/source/opengl/ogl_spritecanvas.cxx index 75d96b129400..3e56c5c91a05 100644 --- a/canvas/source/opengl/ogl_spritecanvas.cxx +++ b/canvas/source/opengl/ogl_spritecanvas.cxx @@ -186,6 +186,11 @@ namespace oglcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(oglcanvas, oglcanvas::oglSpriteCanvasDecl); +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL oglcanvas_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, oglcanvas::oglSpriteCanvasDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx index 79578d4c37c0..a503a2f8f849 100644 --- a/canvas/source/simplecanvas/simplecanvasimpl.cxx +++ b/canvas/source/simplecanvas/simplecanvasimpl.cxx @@ -383,6 +383,10 @@ namespace } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(simplecanvas, simpleCanvasDecl) +extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL simplecanvas_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, simpleCanvasDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/services.cxx b/canvas/source/vcl/services.cxx index 95ba8cba090c..c22cf773d1fb 100644 --- a/canvas/source/vcl/services.cxx +++ b/canvas/source/vcl/services.cxx @@ -77,6 +77,11 @@ namespace vclcanvas } // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS2(vclcanvas, vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl) +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 ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |