[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Sun Mar 23 00:06:13 PDT 2014


 sw/source/filter/ww8/docxsdrexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cfde7ea8ee8526a66db22d690ef2de0f43c76d0b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Sun Mar 23 08:35:32 2014 +0200

    WaE: passing OUString by value, rather pass by reference [loplugin]
    
    Change-Id: I7894d34d33efbf7689454ec25386b5d741ed3c42

diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 8add83f..d4f63bf 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);


More information about the Libreoffice-commits mailing list