Tag: cws_src680_qiq
User: fs      
Date: 06/06/09 04:55:57

Modified:
 /dba/dbaccess/source/core/resource/
  core_resource.cxx

Log:
 #i51143# +loadString with placeholder replacement

File Changes:

Directory: /dba/dbaccess/source/core/resource/
==============================================

File [changed]: core_resource.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/resource/core_resource.cxx?r1=1.7&r2=1.7.20.1
Delta lines:  +11 -3
--------------------
--- core_resource.cxx   7 Apr 2006 14:12:14 -0000       1.7
+++ core_resource.cxx   9 Jun 2006 11:55:55 -0000       1.7.20.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: core_resource.cxx,v $
  *
- *  $Revision: 1.7 $
+ *  $Revision: 1.7.20.1 $
  *
- *  last change: $Author: vg $ $Date: 2006/04/07 14:12:14 $
+ *  last change: $Author: fs $ $Date: 2006/06/09 11:55:55 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -95,6 +95,14 @@
 
                return sReturn;
        }
+
+       //------------------------------------------------------------------
+       ::rtl::OUString ResourceManager::loadString( sal_uInt16 _nResId, const 
sal_Char* _pPlaceholderAscii, const ::rtl::OUString& _rReplace )
+    {
+        String sString( loadString( _nResId ) );
+        sString.SearchAndReplaceAscii( _pPlaceholderAscii, _rReplace );
+        return sString;
+    }
 
 //.........................................................................
 }




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

Reply via email to