sw/source/ui/misc/linenum.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ea79176e31c5b05fea25ff7b5e10fafde37642d9
Author: Eike Rathke <er...@redhat.com>
Date:   Wed Oct 8 20:51:44 2014 +0200

    pass const OUString&, Clang loplugin:passstuffbyref
    
    Change-Id: Ia3bf8a59c38b32a9ed24d21432f95e7141d72072

diff --git a/sw/source/ui/misc/linenum.cxx b/sw/source/ui/misc/linenum.cxx
index 0828625..c71ae9e 100644
--- a/sw/source/ui/misc/linenum.cxx
+++ b/sw/source/ui/misc/linenum.cxx
@@ -35,7 +35,7 @@
 
 #include <IDocumentStylePoolAccess.hxx>
 
-static rtl::Reference<SwDocStyleSheet> lcl_getDocStyleSheet(OUString rName, 
SwWrtShell *pSh)
+static rtl::Reference<SwDocStyleSheet> lcl_getDocStyleSheet(const OUString& 
rName, SwWrtShell *pSh)
 {
     sal_uInt16 nFamily = SFX_STYLE_FAMILY_PARA;
     SfxStyleSheetBasePool* mpBase =  
pSh->GetView().GetDocShell()->GetStyleSheetPool();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to