[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Tue Aug 5 02:52:35 PDT 2014
sw/source/filter/ww8/docxattributeoutput.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8dbe1223156ca184da70318b07c0247a2946f270
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Aug 5 11:52:00 2014 +0200
loplugin:passstuffbyref
Change-Id: I092b557ed06ec04e51aff0fafb03e2ad2a862c7d
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index bf00588..051b6c1 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())
{
More information about the Libreoffice-commits
mailing list