summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 13:32:59 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:39 +0200
commitc6075095ddc40fbaee1cc8a34b22ba3092db6810 (patch)
treeecacaff2aa891b3bcfba432b08e2f7b9fbbf4697
parent40f8d2566022140ca3f2d45d7cbd8b7ab51125ed (diff)
loplugin:passstuffbyref in toolkit
Change-Id: I0f44beaec29a24e81e3c3ccace00013091eeae92
-rw-r--r--include/toolkit/awt/vclxdevice.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toolkit/awt/vclxdevice.hxx b/include/toolkit/awt/vclxdevice.hxx
index e216f2df4468..5fb5add9f179 100644
--- a/include/toolkit/awt/vclxdevice.hxx
+++ b/include/toolkit/awt/vclxdevice.hxx
@@ -59,7 +59,7 @@ public:
virtual ~VCLXDevice();
void SetOutputDevice( const VclPtr<OutputDevice> &pOutDev ) { mpOutputDevice = pOutDev; }
- VclPtr<OutputDevice> GetOutputDevice() const { return mpOutputDevice; }
+ const VclPtr<OutputDevice>& GetOutputDevice() const { return mpOutputDevice; }
void SetCreatedWithToolkit( bool bCreatedWithToolkit );