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

Stephan Bergmann sbergman at redhat.com
Mon Jun 22 08:14:33 PDT 2015


 cui/source/options/optaboutconfig.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e761ae784775b0e533d0eca343ece9cc750eeb37
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 22 17:13:58 2015 +0200

    loplugin:passstuffbyref
    
    Change-Id: Ibba2d7322a3708bce186bb6f8de44ffa18c5146e

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index cd1cd4b..ebebbd9 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -61,12 +61,12 @@ struct UserData
     OUString sPropertyPath;
     Reference<XNameAccess> aXNameAccess;
 
-    UserData( OUString rPropertyPath )
+    UserData( OUString const & rPropertyPath )
         : bIsPropertyPath( true )
         , sPropertyPath(rPropertyPath)
     {}
 
-    UserData( Reference<XNameAccess> rXNameAccess )
+    UserData( Reference<XNameAccess> const & rXNameAccess )
         : bIsPropertyPath( false )
         , aXNameAccess( rXNameAccess )
     {}


More information about the Libreoffice-commits mailing list