diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 23:29:35 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 23:29:35 +0200 |
commit | 32e534a3d0fc2f5ff2fc2fe18c7d31f5b619031d (patch) | |
tree | 8df8e7251c2a6631d20fad7e187fdf243502f016 | |
parent | 1f90b032a6d8f2fce49334190e321b81832e3466 (diff) |
OUString::replaceAt() does not modify in-place
Change-Id: I97460379a248d13c9766b315a069647b70770135
-rw-r--r-- | sc/source/core/tool/chgtrack.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 65cd99d920ec..61094e4a9611 100644 --- a/sc/source/core/tool/chgtrack.cxx +++ b/sc/source/core/tool/chgtrack.cxx @@ -772,7 +772,7 @@ void ScChangeActionIns::GetDescription( aBuf.append(GetRefString(GetBigRange(), pDoc)); rtl::OUString aRangeStr = aBuf.makeStringAndClear(); - aRsc.replaceAt(nPos, 2, aRangeStr); // replace '#1' with the range string. + aRsc = aRsc.replaceAt(nPos, 2, aRangeStr); // replace '#1' with the range string. aBuf.append(rStr).append(aRsc); rStr = aBuf.makeStringAndClear(); |