summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/repainttarget.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-12-14 20:45:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-12-23 14:20:03 +0000
commit89803666621c07d1b1ac9d3bd883f0ca192a91a0 (patch)
tree364276de367b15c965976728f791e15574fd5e45 /canvas/source/vcl/repainttarget.hxx
parentd5e0c2c8db71878d21c2a7255af08cf5f9a6dd04 (diff)
loplugin:unocast (vclcanas::CanvasBitmap)
(See the upcoming commit introducing that loplugin:unocast on why such dynamic_casts from UNO types are dangerous.) Change-Id: If79f69507e939a25a5bbf82f818c44f26077dfce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144767 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas/source/vcl/repainttarget.hxx')
-rw-r--r--canvas/source/vcl/repainttarget.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/canvas/source/vcl/repainttarget.hxx b/canvas/source/vcl/repainttarget.hxx
index 57c45882a3cd..3ef832fb3426 100644
--- a/canvas/source/vcl/repainttarget.hxx
+++ b/canvas/source/vcl/repainttarget.hxx
@@ -51,6 +51,10 @@ namespace vclcanvas
const ::Size& rSz,
const GraphicAttr& rAttr ) const = 0;
+ sal_Int64 getSomething(css::uno::Sequence<sal_Int8> const & id) {
+ return comphelper::getSomethingImpl(id, this);
+ }
+
static css::uno::Sequence<sal_Int8> const & getUnoTunnelId() {
static comphelper::UnoIdInit const id;
return id.getSeq();