summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlform.cxx')
-rw-r--r--sw/source/filter/html/htmlform.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index 7f234e8fd577..857395fa3f92 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -2523,8 +2523,8 @@ void SwHTMLParser::EndSelect()
for( i = 0; i < nEntryCnt; i++ )
{
- String sText( *pFormImpl->GetStringList()[i] );
- sText.EraseTrailingChars();
+ rtl::OUString sText( *pFormImpl->GetStringList()[i] );
+ sText = comphelper::string::stripEnd(sText, ' ');
pStrings[i] = sText;
sText = *pFormImpl->GetValueList()[i];