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

Stephan Bergmann sbergman at redhat.com
Wed Mar 19 14:31:51 PDT 2014


 sfx2/source/appl/shutdowniconaqua.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04fcf88c61cb525eef6b9a09701dac8de3634f90
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 19 22:31:19 2014 +0100

    loplugin:passstringbyref
    
    Change-Id: I53e8d7d976f37a0dcf09200713ea418ed024305d

diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm
index 2b922dc..29cd579 100644
--- a/sfx2/source/appl/shutdowniconaqua.mm
+++ b/sfx2/source/appl/shutdowniconaqua.mm
@@ -295,7 +295,7 @@ class RecentFilesStringLength : public ::cppu::WeakImplHelper1< ::com::sun::star
 
 static RecentMenuDelegate* pRecentDelegate = nil;
 
-static rtl::OUString getShortCut( const rtl::OUString i_rTitle )
+static rtl::OUString getShortCut( const rtl::OUString& i_rTitle )
 {
     // create shortcut
     rtl::OUString aKeyEquiv;


More information about the Libreoffice-commits mailing list