diff options
author | Tsutomu Uchino <hanya@apache.org> | 2015-01-11 02:53:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-11 20:45:28 +0000 |
commit | bf964151a77d8f63dac031fec5800a7bb43b3e5b (patch) | |
tree | c1bd82d0e37a7c4127ba03691fb1bd9c6100c311 /basic/source/runtime/methods.cxx | |
parent | 5e6a4591d31619f9bf32a9891c59a6dcc3af80b5 (diff) |
Related: #i94895# revert the part of revision 1650261
replaced string should be starting with the start postion if specified
(cherry picked from commit 68c6265584fb6cb0469098507dd287e6e1127324)
Conflicts:
basic/source/runtime/methods.cxx
Change-Id: Ib729facfa78ffddebc258440324f05d037fae46f
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r-- | basic/source/runtime/methods.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index baa9603afbae..113f94d27de3 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -1414,7 +1414,7 @@ RTLFUNC(Replace) } } } - rPar.Get(0)->PutString( aExpStr ); + rPar.Get(0)->PutString( aExpStr.copy( lStartPos - 1 ) ); } } |