summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/devicehelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 09:33:20 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:51 +0200
commit9b640c03e054f030b2a3cf17cc453d5bfacc4981 (patch)
treef53716d3f1ecef306ce8cf102cae82033f91e753 /canvas/source/vcl/devicehelper.hxx
parent311bc1fc8b39d7f2168a04437034fb5b29c2c8b2 (diff)
loplugin:passstuffbyref in canvas
Change-Id: Idde288ab4bb7935e5da2a84190fd4b398961d358
Diffstat (limited to 'canvas/source/vcl/devicehelper.hxx')
-rw-r--r--canvas/source/vcl/devicehelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx
index 359f2b887c13..2a5d7ac2a42e 100644
--- a/canvas/source/vcl/devicehelper.hxx
+++ b/canvas/source/vcl/devicehelper.hxx
@@ -77,7 +77,7 @@ namespace vclcanvas
css::uno::Reference<
css::rendering::XColorSpace > getColorSpace() const;
- OutDevProviderSharedPtr getOutDev() const { return mpOutDev; }
+ const OutDevProviderSharedPtr& getOutDev() const { return mpOutDev; }
/** called when DumpScreenContent property is enabled on
XGraphicDevice, and writes out bitmaps of current screen.