Author: hanya
Date: Sun Jan 11 02:53:26 2015
New Revision: 1650862

URL: http://svn.apache.org/r1650862
Log:
#i94895# revert the part of revision 1650261, replaced string should be 
starting with the start postion if specified

Modified:
    openoffice/trunk/main/basic/source/runtime/methods.cxx

Modified: openoffice/trunk/main/basic/source/runtime/methods.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/basic/source/runtime/methods.cxx?rev=1650862&r1=1650861&r2=1650862&view=diff
==============================================================================
--- openoffice/trunk/main/basic/source/runtime/methods.cxx (original)
+++ openoffice/trunk/main/basic/source/runtime/methods.cxx Sun Jan 11 02:53:26 
2015
@@ -1448,7 +1448,7 @@ RTLFUNC(Replace)
                                }
                        }
                }
-               rPar.Get(0)->PutString( aExpStr.Copy() );
+               rPar.Get(0)->PutString( aExpStr.Copy( 
static_cast<sal_uInt16>(lStartPos - 1) )  );
        }
 }
 


Reply via email to