summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-08 20:02:46 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-08 20:35:11 -0500
commit7513bba52c02d99700ce3821efe0691f89ac1bd5 (patch)
treee2767681e9b0d53cf6a913c3150ddc4096397270
parentbd9d0aa967eb69e436925fc64b16051019e6818d (diff)
Apparently these two methods are now deprecated.
-rw-r--r--sc/source/ui/app/inputhdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 000625eb5be7..27d333bd541e 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -202,8 +202,8 @@ void removeChars(rtl::OUString& rStr, sal_Unicode c)
rtl::OUStringBuffer aBuf(rStr);
for (sal_Int32 i = 0, n = aBuf.getLength(); i < n; ++i)
{
- if (aBuf.charAt(i) == c)
- aBuf.setCharAt(i, sal_Unicode(' '));
+ if (aBuf[i] == c)
+ aBuf[i] = sal_Unicode(' ');
}
rStr = aBuf.makeStringAndClear();
}