diff options
Diffstat (limited to 'canvas/source/cairo/cairo_canvascustomsprite.hxx')
-rw-r--r-- | canvas/source/cairo/cairo_canvascustomsprite.hxx | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/canvas/source/cairo/cairo_canvascustomsprite.hxx b/canvas/source/cairo/cairo_canvascustomsprite.hxx index 6a392b13c6f1..ffe766ab0966 100644 --- a/canvas/source/cairo/cairo_canvascustomsprite.hxx +++ b/canvas/source/cairo/cairo_canvascustomsprite.hxx @@ -103,24 +103,10 @@ namespace cairocanvas // Forwarding the XComponent implementation to the // cppu::ImplHelper templated base - virtual void SAL_CALL acquire() noexcept override { CanvasCustomSpriteBase_Base::acquire(); } - virtual void SAL_CALL release() noexcept override { CanvasCustomSpriteBase_Base::release(); } - virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) override - { return CanvasCustomSpriteBase_Base::queryInterface(_rType); } - virtual void SAL_CALL dispose() override - { - CanvasCustomSpriteBase_Base::dispose(); - } - virtual void SAL_CALL addEventListener( - css::uno::Reference< css::lang::XEventListener > const & xListener ) override - { - CanvasCustomSpriteBase_Base::removeEventListener(xListener); - } - virtual void SAL_CALL removeEventListener( - css::uno::Reference< css::lang::XEventListener > const & xListener ) override - { - CanvasCustomSpriteBase_Base::removeEventListener(xListener); - } + // Classname Base doing refcount Base implementing the XComponent interface + // | | | + // V V V + DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase ) // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; |