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

Stephan Bergmann sbergman at redhat.com
Thu Aug 27 01:04:33 PDT 2015


 sw/source/uibase/sidebar/StylePresetsPanel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 30f4a56e9b39f9791bbb36e30fc2e0982aedd3cd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 27 10:03:53 2015 +0200

    loplugin:passstuffbyref
    
    Change-Id: I000a8fbfec9c81a61773b5db24b5a7b6c708dc06

diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
index 957f050..90ee2a2 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx
@@ -108,7 +108,7 @@ BitmapEx StylePresetsPanel::CreatePreview(OUString& aUrl, OUString& aName)
 }
 
 void renderPreview(sfx2::StyleManager* pStyleManager, OutputDevice& aOutputDevice,
-                   OUString sName, sal_Int32 nHeight, Rectangle& aRect)
+                   OUString const & sName, sal_Int32 nHeight, Rectangle& aRect)
 {
     sfx2::StylePreviewRenderer* pStylePreviewRenderer;
 


More information about the Libreoffice-commits mailing list