Tag: cws_src680_dba24c
User: fs      
Date: 2007-09-20 18:27:07+0000
Modified:
   dba/connectivity/source/commontools/sqlerror.cxx

Log:
 proper parameter replacement

File Changes:

Directory: /dba/connectivity/source/commontools/
================================================

File [changed]: sqlerror.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/sqlerror.cxx?r1=1.1.2.5&r2=1.1.2.6
Delta lines:  +3 -3
-------------------
--- sqlerror.cxx        2007-09-18 20:03:42+0000        1.1.2.5
+++ sqlerror.cxx        2007-09-20 18:27:04+0000        1.1.2.6
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqlerror.cxx,v $
  *
- *  $Revision: 1.1.2.5 $
+ *  $Revision: 1.1.2.6 $
  *
- *  last change: $Author: fs $ $Date: 2007/09/18 20:03:42 $
+ *  last change: $Author: fs $ $Date: 2007/09/20 18:27:04 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -148,7 +148,7 @@
             OSL_ENSURE( bHasPlaceholder == bWantsPlaceholder, 
"lcl_substitutePlaceholder: placeholder where none is expected, or no 
placeholder where one is needed!" );
 
             if ( bHasPlaceholder && bWantsPlaceholder )
-                _rMessage.replaceAt( nIndex, nPlaceholderLen, *_rParamValue );
+                _rMessage = _rMessage.replaceAt( nIndex, nPlaceholderLen, 
*_rParamValue );
         }
 
         //................................................................




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to