[Libreoffice-commits] core.git: vcl/osx

Stephan Bergmann sbergman at redhat.com
Wed Mar 19 13:54:16 PDT 2014


 vcl/osx/printaccessoryview.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f52dcaa810517195fe6a3b305a6c1097ec32995e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 19 21:53:43 2014 +0100

    loplugin:passstringbyref
    
    Change-Id: I3189ff08bd984b8f4fa127aeb40e8c13e5cc01c9

diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 40e9036..852263a 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,


More information about the Libreoffice-commits mailing list