summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-07 21:15:51 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-07 21:16:59 +0200
commit6642d9ec9f882ba7f9f8a429fe5c8f1b8440347e (patch)
treecef69cf3cf4de6a4f89b5f6180be60188db1168c /vcl
parent8c26876fea085a1bc847abba63dffa97a9499c1d (diff)
OUString::replaceAt() does not replace in-place
Change-Id: I90bc139e1a188afbada12405d78ac71b97580f0d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/combobox.cxx2
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, ' ');
}