summaryrefslogtreecommitdiff
path: root/canvas/source/vcl
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-16 19:59:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-17 07:45:37 +0100
commitf573d410e8673cd4f3eb772c6f7c2756bdc42e3e (patch)
tree9865f3dceee1381b433e79040b66c383dad98de8 /canvas/source/vcl
parent92387abb28b3cf28159577222f1587df027acf31 (diff)
loplugin:referencecasting in canvas
Change-Id: Ic802d6593db053bb31c3463e67b63399b5f26d67 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111001 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r--canvas/source/vcl/textlayout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 2a0e1fec1a70..4bdda37d9613 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -313,7 +313,7 @@ namespace vclcanvas
{
SolarMutexGuard aGuard;
- return mpFont.get();
+ return mpFont;
}
rendering::StringContext SAL_CALL TextLayout::getText( )