summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-23 08:35:32 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-23 09:05:17 +0200
commitcfde7ea8ee8526a66db22d690ef2de0f43c76d0b (patch)
tree0c6a650c493b34a00aee3d7576add9ab7b0ed637 /sw
parente96e3aa0f12fb0d4e041cd44317d246096c89d78 (diff)
WaE: passing OUString by value, rather pass by reference [loplugin]
Change-Id: I7894d34d33efbf7689454ec25386b5d741ed3c42
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 8add83f0a628..d4f63bf373f5 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -51,7 +51,7 @@ namespace
{
template<class T>
-T lclGetProperty(uno::Reference<drawing::XShape> rShape, OUString rPropName)
+T lclGetProperty(uno::Reference<drawing::XShape> rShape, const OUString& rPropName)
{
T aResult;
uno::Reference<beans::XPropertySet> xPropertySet(rShape, uno::UNO_QUERY);