loplugin:passstuffbyref

Change-Id: I092b557ed06ec04e51aff0fafb03e2ad2a862c7d
This commit is contained in:
Stephan Bergmann 2014-08-05 11:52:00 +02:00
parent 841d50ec23
commit 8dbe122315

View file

@ -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())
{