[Libreoffice-commits] core.git: Branch 'aoo/trunk' - basic/source

Tsutomu Uchino hanya at apache.org
Sat Jan 10 20:08:45 PST 2015


 basic/source/runtime/methods.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 68c6265584fb6cb0469098507dd287e6e1127324
Author: Tsutomu Uchino <hanya at apache.org>
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) )  );
     }
 }
 


More information about the Libreoffice-commits mailing list