diff options
Diffstat (limited to 'canvas/source/vcl/spritecanvas.cxx')
-rw-r--r-- | canvas/source/vcl/spritecanvas.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx index a82bf0d4db18..bc3b2d9f290a 100644 --- a/canvas/source/vcl/spritecanvas.cxx +++ b/canvas/source/vcl/spritecanvas.cxx @@ -21,6 +21,7 @@ #include <sal/log.hxx> #include <com/sun/star/awt/XTopWindow.hpp> +#include <cppuhelper/supportsservice.hxx> #include <tools/diagnose_ex.h> #include "spritecanvas.hxx" @@ -131,6 +132,20 @@ namespace vclcanvas return "com.sun.star.rendering.SpriteCanvas.VCL"; } + // XServiceInfo + css::uno::Sequence<OUString> SpriteCanvas::getSupportedServiceNames() + { + return { SpriteCanvas::getServiceName() }; + } + OUString SpriteCanvas::getImplementationName() + { + return "com.sun.star.comp.rendering.SpriteCanvas.VCL"; + } + sal_Bool SpriteCanvas::supportsService(const OUString& sServiceName) + { + return cppu::supportsService(this, sServiceName); + } + bool SpriteCanvas::repaint( const GraphicObjectSharedPtr& rGrf, const rendering::ViewState& viewState, const rendering::RenderState& renderState, |