diff options
-rw-r--r-- | canvas/source/vcl/canvas.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvasbitmap.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/canvascustomsprite.cxx | 2 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvas.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/vcl/canvas.cxx b/canvas/source/vcl/canvas.cxx index 5cbda63a50ab..48527380f38b 100644 --- a/canvas/source/vcl/canvas.cxx +++ b/canvas/source/vcl/canvas.cxx @@ -98,7 +98,7 @@ namespace vclcanvas } sal_Int64 Canvas::getSomething(css::uno::Sequence<sal_Int8> const & aIdentifier) { - return comphelper::getSomethingImpl(aIdentifier, static_cast<RepaintTarget *>(this)); + return comphelper::getSomethingImpl<RepaintTarget>(aIdentifier, this); } bool Canvas::repaint( const GraphicObjectSharedPtr& rGrf, diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx index 38aababdf03b..70ad59f24afa 100644 --- a/canvas/source/vcl/canvasbitmap.cxx +++ b/canvas/source/vcl/canvasbitmap.cxx @@ -86,7 +86,7 @@ namespace vclcanvas } sal_Int64 CanvasBitmap::getSomething(css::uno::Sequence<sal_Int8> const & aIdentifier) { - return comphelper::getSomethingImpl(aIdentifier, static_cast<RepaintTarget *>(this)); + return comphelper::getSomethingImpl<RepaintTarget>(aIdentifier, this); } BitmapEx CanvasBitmap::getBitmap() const diff --git a/canvas/source/vcl/canvascustomsprite.cxx b/canvas/source/vcl/canvascustomsprite.cxx index b13fad66b8c6..1cd22bd3559b 100644 --- a/canvas/source/vcl/canvascustomsprite.cxx +++ b/canvas/source/vcl/canvascustomsprite.cxx @@ -118,7 +118,7 @@ namespace vclcanvas } sal_Int64 CanvasCustomSprite::getSomething(css::uno::Sequence<sal_Int8> const & aIdentifier) { - return comphelper::getSomethingImpl(aIdentifier, static_cast<RepaintTarget *>(this)); + return comphelper::getSomethingImpl<RepaintTarget>(aIdentifier, this); } // Sprite diff --git a/canvas/source/vcl/spritecanvas.cxx b/canvas/source/vcl/spritecanvas.cxx index a366b32a5c4c..04780d8f0375 100644 --- a/canvas/source/vcl/spritecanvas.cxx +++ b/canvas/source/vcl/spritecanvas.cxx @@ -163,7 +163,7 @@ namespace vclcanvas } sal_Int64 SpriteCanvas::getSomething(css::uno::Sequence<sal_Int8> const & aIdentifier) { - return comphelper::getSomethingImpl(aIdentifier, static_cast<RepaintTarget *>(this)); + return comphelper::getSomethingImpl<RepaintTarget>(aIdentifier, this); } bool SpriteCanvas::repaint( const GraphicObjectSharedPtr& rGrf, |