diff options
author | Willian Briotto <willianbriotto@gmail.com> | 2015-11-21 19:56:06 -0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-12-02 06:32:50 +0000 |
commit | a454a9b3ae0f6ab81012fbef7b3ff6f0f44bf6cb (patch) | |
tree | 8cb7191bafb7d2fb8b08b332470c74c6ad64f0b0 /sw/source/filter/html/htmlftn.cxx | |
parent | 9027629b0e09b3b024a5821bb791308039bb5d8b (diff) |
Remove some chained appends
Change-Id: I552432d7352e4ae4d6b0ef8fb72a6533407b46e4
Reviewed-on: https://gerrit.libreoffice.org/20124
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/filter/html/htmlftn.cxx')
-rw-r--r-- | sw/source/filter/html/htmlftn.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/filter/html/htmlftn.cxx b/sw/source/filter/html/htmlftn.cxx index 314a515f2e8a..4354358c2614 100644 --- a/sw/source/filter/html/htmlftn.cxx +++ b/sw/source/filter/html/htmlftn.cxx @@ -292,21 +292,21 @@ Writer& OutHTML_SwFormatFootnote( Writer& rWrt, const SfxPoolItem& rHt ) rHTMLWrt.m_pFootEndNotes->insert( rHTMLWrt.m_pFootEndNotes->begin() + nPos, pTextFootnote ); OStringBuffer sOut; - sOut.append('<').append(OOO_STRING_SVTOOLS_HTML_anchor).append(' ') - .append(OOO_STRING_SVTOOLS_HTML_O_class).append("=\""); + sOut.append("<" + OString(OOO_STRING_SVTOOLS_HTML_anchor) + " " + + OString(OOO_STRING_SVTOOLS_HTML_O_class) + "=\""); rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() ); HTMLOutFuncs::Out_String( rWrt.Strm(), sClass, rHTMLWrt.m_eDestEnc, &rHTMLWrt.m_aNonConvertableCharacters ); - sOut.append("\" ").append(OOO_STRING_SVTOOLS_HTML_O_name).append("=\""); + sOut.append("\" " + OString(OOO_STRING_SVTOOLS_HTML_O_name) + "=\""); rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() ); HTMLOutFuncs::Out_String( rWrt.Strm(), sFootnoteName, rHTMLWrt.m_eDestEnc, &rHTMLWrt.m_aNonConvertableCharacters ); - sOut.append(OOO_STRING_SVTOOLS_HTML_FTN_anchor).append("\" ") - .append(OOO_STRING_SVTOOLS_HTML_O_href).append("=\"#"); + sOut.append(OString(OOO_STRING_SVTOOLS_HTML_FTN_anchor) + "\" " + + OString(OOO_STRING_SVTOOLS_HTML_O_href) + "=\"#"); rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() ); HTMLOutFuncs::Out_String( rWrt.Strm(), sFootnoteName, rHTMLWrt.m_eDestEnc, &rHTMLWrt.m_aNonConvertableCharacters ); - sOut.append(OOO_STRING_SVTOOLS_HTML_FTN_symbol).append('\"'); + sOut.append(OString(OOO_STRING_SVTOOLS_HTML_FTN_symbol) + "\""); if( !rFormatFootnote.GetNumStr().isEmpty() ) - sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_sdfixed); - sOut.append('>'); + sOut.append(" " + OString(OOO_STRING_SVTOOLS_HTML_O_sdfixed)); + sOut.append(">"); rWrt.Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() ); HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_superscript ); |