summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-22 17:36:34 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-09-22 17:36:34 +0100
commit647fb29f528b891a1c92846640f7865f5c1fbe7f (patch)
tree11896bc8dd1df4e4d231bf986e6ad83c679306a4
parent174caa875c92e6eed324ebc9db2e1746678435a1 (diff)
WaE: Unused return value of OUString.
Seems to be a leftover of the String->OUString conversion? Change-Id: I5ecbdbc0131894f5240b472d3981e69178b503c5
-rw-r--r--sw/source/filter/html/wrthtml.cxx4
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,