diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 20:23:23 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 20:23:23 +0200 |
commit | 8a961ac1114023ffaa844c09291de55fe81d4eb0 (patch) | |
tree | 7a8f15499be24410b1141e201a7b37f5dae016f5 /comphelper | |
parent | OUString::replace() does not replace in-place (diff) | |
download | core-8a961ac1114023ffaa844c09291de55fe81d4eb0.tar.gz core-8a961ac1114023ffaa844c09291de55fe81d4eb0.zip |
OUString::trim() does not modify in-place
Change-Id: I522e579253d3b59bcc72010bfbb5d09d9f558fa1
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/locale.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/locale.cxx b/comphelper/source/misc/locale.cxx index 9bfea805a02e..48530339c5b6 100644 --- a/comphelper/source/misc/locale.cxx +++ b/comphelper/source/misc/locale.cxx @@ -129,7 +129,7 @@ void Locale::fromISO(const ::rtl::OUString& sISO) m_sVariant = ::rtl::OUString(); ::rtl::OUString sParser(sISO); - sParser.trim(); + sParser = sParser.trim(); sal_Int32 nStart = 0; sal_Int32 nEnd = 0; |