[Libreoffice-commits] core.git: vcl/source
Tor Lillqvist
tml at iki.fi
Thu Mar 7 11:17:22 PST 2013
vcl/source/control/combobox.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6642d9ec9f882ba7f9f8a429fe5c8f1b8440347e
Author: Tor Lillqvist <tml at 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, ' ');
}
More information about the Libreoffice-commits
mailing list