summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-02-07 23:21:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-02-08 09:09:32 +0100
commitb01e0483ee14826057c42dfa58c3d6200a474791 (patch)
treedf3602677ecf67edb532216fd767e63a347d6ac0 /vcl
parentb314b5a0612c9dc7279039dae44a250d4d3ec6b1 (diff)
Extend loplugin:stringview to O[U]StringBuffer::toString
Change-Id: I7ad212dfff8b34d05e3b45107a1ef033a4efc454 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129651 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/ipdf/pdfdocument.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/ipdf/pdfdocument.cxx b/vcl/source/filter/ipdf/pdfdocument.cxx
index 4573d414cfc6..3d005a45ff2e 100644
--- a/vcl/source/filter/ipdf/pdfdocument.cxx
+++ b/vcl/source/filter/ipdf/pdfdocument.cxx
@@ -175,7 +175,7 @@ sal_Int32 PDFDocument::WriteSignatureObject(const OUString& rDescription, bool b
}
aSigBuffer.append(" >>\nendobj\n\n");
- m_aEditBuffer.WriteOString(aSigBuffer.toString());
+ m_aEditBuffer.WriteOString(aSigBuffer);
return nSignatureId;
}
@@ -809,7 +809,7 @@ void PDFDocument::WriteXRef(sal_uInt64 nXRefOffset, PDFReferenceElement const* p
aBuffer.append(" 65535 f \n");
else
aBuffer.append(" 00000 n \n");
- m_aEditBuffer.WriteOString(aBuffer.toString());
+ m_aEditBuffer.WriteOString(aBuffer);
}
// Write the trailer.
@@ -955,7 +955,7 @@ bool PDFDocument::Sign(const uno::Reference<security::XCertificate>& xCertificat
assert(aCMSHexBuffer.getLength() <= MAX_SIGNATURE_CONTENT_LENGTH);
m_aEditBuffer.Seek(nSignatureContentOffset);
- m_aEditBuffer.WriteOString(aCMSHexBuffer.toString());
+ m_aEditBuffer.WriteOString(aCMSHexBuffer);
return true;
}