summaryrefslogtreecommitdiffstats
path: root/sw/source/core/unocore/unostyle.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 18:24:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-27 18:24:39 +0100
commit11a8e72a5fddd020ce03fd4c7815dda98c2b75f7 (patch)
tree4148f4784c918bbce85f7c893c6fa926bbebf2d3 /sw/source/core/unocore/unostyle.cxx
parenttype punning is all fun, but lets only use it when its really needed (diff)
downloadcore-11a8e72a5fddd020ce03fd4c7815dda98c2b75f7.tar.gz
core-11a8e72a5fddd020ce03fd4c7815dda98c2b75f7.zip
loplugin:passstuffbyref
Change-Id: I10353a94ca12cf4af18f498464610d48477f11f4
Diffstat (limited to 'sw/source/core/unocore/unostyle.cxx')
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 814138b084f4..7b5967ba905f 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)