summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlbas.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-12 08:27:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-12 10:02:35 +0200
commit8ab3f399187922452e3f29ce5e1fb933bd3a22a9 (patch)
treef308c450453f85fac076cc766dbfdec04eb5d370 /sw/source/filter/html/htmlbas.cxx
parent576611895e51186d38ddefa10ed8d66075d9de37 (diff)
All occurrences of WriteOStringBuffer(b) can easily be replaced...
...with WriteOString(b.makeStringAndClear()) Change-Id: I46be4f80d6633b5c51a2c3d99f9faf0db5764d3f Reviewed-on: https://gerrit.libreoffice.org/80704 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/filter/html/htmlbas.cxx')
-rw-r--r--sw/source/filter/html/htmlbas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index 5b4e846c2ed2..aaa7dbbbaa89 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -285,7 +285,7 @@ void SwHTMLWriter::OutBasic()
.append(OOO_STRING_SVTOOLS_HTML_META_content_script_type)
.append("\" ").append(OOO_STRING_SVTOOLS_HTML_O_content)
.append("=\"text/x-");
- Strm().WriteOStringBuffer( sOut );
+ Strm().WriteOString( sOut.makeStringAndClear() );
// Entities aren't welcome here
Strm().WriteOString( OUStringToOString(sLang, m_eDestEnc) )
.WriteCharPtr( "\">" );