From 04aafba860f613c20e7078d038cc83eb02de0b54 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Apr 2021 12:24:31 +0200 Subject: loplugin:stringadd simplify some *StringBuffer operations pulled from a larger patch which I created with a more permissive variant of this plugin Change-Id: I7abf1f3f09e84703b6e0e52fe9587dff691b2187 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114875 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unoxml/source/rdf/librdf_repository.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unoxml') diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 7b4461aca83a..d6b0a41e029d 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -1091,10 +1091,10 @@ void addChaffWhenEncryptedStorage(const uno::Reference< io::XOutputStream > &rSt reinterpret_cast(pBuffer), preamblelen); rStream->writeBytes(buf); - OStringBuffer aComment; - aComment.append(""); + OString aComment = + ""; buf = uno::Sequence( reinterpret_cast(aComment.getStr()), aComment.getLength()); -- cgit cib/libreoffice-5-3'>distro/cib/libreoffice-5-3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sdext
AgeCommit message (Expand)Author
2013-08-20also adjust for poppler 0.24Bjoern Michaelsen
2013-08-19Mark as constTakeshi Abe
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist