sw/source/filter/html/wrthtml.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 647fb29f528b891a1c92846640f7865f5c1fbe7f Author: Andrzej J.R. Hunt <andr...@ahunt.org> Date: Sun Sep 22 17:36:34 2013 +0100 WaE: Unused return value of OUString. Seems to be a leftover of the String->OUString conversion? Change-Id: I5ecbdbc0131894f5240b472d3981e69178b503c5 diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index dafdf10..df04777 100644 --- a/sw/source/filter/html/wrthtml.cxx +++ b/sw/source/filter/html/wrthtml.cxx @@ -573,13 +573,13 @@ static void lcl_html_OutSectionStartTag( SwHTMLWriter& rHTMLWrt, sal_Int32 nPos = aSection.indexOf( '%' ); while( nPos != -1 ) { - aSection.replaceAt(nPos, 1, "%25"); + aSection = aSection.replaceAt(nPos, 1, "%25"); nPos = aSection.indexOf( '%', nPos+3 ); } nPos = aSection.indexOf( cDelim ); while( nPos != -1 ) { - aSection.replaceAt(nPos, 1, "%FF" ); + aSection = aSection.replaceAt(nPos, 1, "%FF" ); nPos = aSection.indexOf( cDelim, nPos+3 ); } HTMLOutFuncs::Out_String( rHTMLWrt.Strm(), aSection, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits