summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-05 11:52:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-05 11:52:00 +0200
commit8dbe1223156ca184da70318b07c0247a2946f270 (patch)
tree0ac6b96a9bdf11ee81928ec4713cd26c4a40d646 /sw
parent841d50ec234e71e8e89d0e9135e2002f35fc42fa (diff)
loplugin:passstuffbyref
Change-Id: I092b557ed06ec04e51aff0fafb03e2ad2a862c7d
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index bf005881e7dc..051b6c18eee8 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -2951,7 +2951,7 @@ void DocxAttributeOutput::TableInfoRow( ww8::WW8TableNodeInfoInner::Pointer_t /*
}
/// Does the same as comphelper::string::padToLength(), but extends the start, not the end.
-OString lcl_padStartToLength(OString aString, sal_Int32 nLen, sal_Char cFill)
+OString lcl_padStartToLength(OString const & aString, sal_Int32 nLen, sal_Char cFill)
{
if (nLen > aString.getLength())
{