summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 16:39:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 16:39:43 +0100
commit584262fed1368dba382d88dfd25fe35ac7d4b349 (patch)
treebed7da36f2db982ec0491e926df1e414f8dcf86d /sdext
parente316c4f2a40a4a562028f0a66c40321ffdf87378 (diff)
loplugin:stringconstant: handle OStringBuffer::append
Change-Id: I283da52c0ee2b63c19e31e9a61ab24997c037a6a
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 237609ef76fd..ab8a2b999347 100644
--- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
@@ -433,7 +433,7 @@ bool PDFObjectRef::emit( EmitContext& rWriteContext ) const
aBuf.append( sal_Int32( m_nNumber ) );
aBuf.append( ' ' );
aBuf.append( sal_Int32( m_nGeneration ) );
- aBuf.append( " R", 2 );
+ aBuf.append( " R" );
return rWriteContext.write( aBuf.getStr(), aBuf.getLength() );
}