sc/source/core/tool/chgtrack.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 32e534a3d0fc2f5ff2fc2fe18c7d31f5b619031d Author: Tor Lillqvist <t...@iki.fi> Date: Wed Nov 28 23:29:35 2012 +0200 OUString::replaceAt() does not modify in-place Change-Id: I97460379a248d13c9766b315a069647b70770135 diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 65cd99d..61094e4 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits