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

Stephan Bergmann sbergman at redhat.com
Fri Nov 27 09:25:12 PST 2015


 sw/source/core/unocore/unostyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11a8e72a5fddd020ce03fd4c7815dda98c2b75f7
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 27 18:24:39 2015 +0100

    loplugin:passstuffbyref
    
    Change-Id: I10353a94ca12cf4af18f498464610d48477f11f4

diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 814138b..7b5967b 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -98,7 +98,7 @@ namespace
         const SwGetPoolIdFromName m_aPoolId;
         const OUString m_sName;
         const sal_uInt32 m_nRedId;
-        StyleFamilyEntry(SfxStyleFamily eFamily, SwGetPoolIdFromName aPoolId, OUString sName, sal_uInt32 nResId)
+        StyleFamilyEntry(SfxStyleFamily eFamily, SwGetPoolIdFromName aPoolId, OUString const & sName, sal_uInt32 nResId)
                 : m_eFamily(eFamily)
                 , m_aPoolId(aPoolId)
                 , m_sName(sName)


More information about the Libreoffice-commits mailing list