diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 22:17:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-23 23:16:45 +0000 |
commit | 709c1f365b3bdd0d46ec4f1ddc244580a0dfa637 (patch) | |
tree | 63668e23e125bf3fd1921f906cc269ed6ece8f38 /svl | |
parent | 868bd3b778b6c7b970c67d1dacc469967f69e551 (diff) |
remove various EraseLeadingAndTrailingChars
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/lngmisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/lngmisc.cxx b/svl/source/misc/lngmisc.cxx index 768dc4c8913c..ca1b68a6c0e5 100644 --- a/svl/source/misc/lngmisc.cxx +++ b/svl/source/misc/lngmisc.cxx @@ -157,7 +157,7 @@ String GetThesaurusReplaceText( const String &rText ) // remove any possible remaining ' ' that may confuse the thesaurus // when it gets called with the text - aText.EraseLeadingAndTrailingChars( sal_Unicode(' ') ); + aText = comphelper::string::strip(aText, ' '); return aText; } |