diff options
-rw-r--r-- | sw/source/filter/html/wrthtml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx index dafdf10b2131..df047779ab89 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, |