summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-19 21:53:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-19 21:53:43 +0100
commitf52dcaa810517195fe6a3b305a6c1097ec32995e (patch)
treed602bb0cc51148e882faee5d340cb2afaabaaa2b /vcl
parentf100204736b19339d673f4b469930357de2b969e (diff)
loplugin:passstringbyref
Change-Id: I3189ff08bd984b8f4fa127aeb40e8c13e5cc01c9
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/printaccessoryview.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 40e9036096a9..852263a4b227 100644
--- a/vcl/osx/printaccessoryview.mm
+++ b/vcl/osx/printaccessoryview.mm
@@ -957,7 +957,7 @@ static void addList( NSView* pCurParent, long& rCurX, long& rCurY, long /*nAttac
}
static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachOffset,
- const rtl::OUString rCtrlType,
+ const rtl::OUString& rCtrlType,
const rtl::OUString& rText,
const rtl::OUString& rProperty, const PropertyValue* pValue,
sal_Int64 nMinValue, sal_Int64 nMaxValue,