vcl/source/control/combobox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6642d9ec9f882ba7f9f8a429fe5c8f1b8440347e Author: Tor Lillqvist <t...@iki.fi> Date: Thu Mar 7 21:15:51 2013 +0200 OUString::replaceAt() does not replace in-place Change-Id: I90bc139e1a188afbada12405d78ac71b97580f0d diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 867e649..e561768 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, ' '); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits