diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-07 21:15:51 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-07 21:16:59 +0200 |
commit | 6642d9ec9f882ba7f9f8a429fe5c8f1b8440347e (patch) | |
tree | cef69cf3cf4de6a4f89b5f6180be60188db1168c /vcl | |
parent | 8c26876fea085a1bc847abba63dffa97a9499c1d (diff) |
OUString::replaceAt() does not replace in-place
Change-Id: I90bc139e1a188afbada12405d78ac71b97580f0d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/combobox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 867e6490e47c..e561768df3aa 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -400,7 +400,7 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl) nIndex--; ++nSepCount; } - aText.replaceAt( nPrevIndex, nSepCount, "" ); + aText = aText.replaceAt( nPrevIndex, nSepCount, "" ); } aText = comphelper::string::strip(aText, ' '); } |