basic/source/runtime/methods.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 68c6265584fb6cb0469098507dd287e6e1127324 Author: Tsutomu Uchino <[email protected]> Date: Sun Jan 11 02:53:26 2015 +0000 #i94895# revert the part of revision 1650261, replaced string should be starting with the start postion if specified diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 6b55dad..88e1aca 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -1448,7 +1448,7 @@ RTLFUNC(Replace) } } } - rPar.Get(0)->PutString( aExpStr.Copy() ); + rPar.Get(0)->PutString( aExpStr.Copy( static_cast<sal_uInt16>(lStartPos - 1) ) ); } } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
