User: vg      
Date: 2008-08-19 09:53:25+0000
Modified:
   dba/dbaccess/source/core/dataaccess/documentcontainer.cxx

Log:
 INTEGRATION: CWS dba31a (1.29.40); FILE MERGED
 2008/07/02 09:15:57 oj 1.29.40.2: RESYNC: (1.29-1.30); FILE MERGED
 2008/06/05 13:04:53 oj 1.29.40.1: #i55805# localized error message

File Changes:

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

File [changed]: documentcontainer.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/documentcontainer.cxx?r1=1.30&r2=1.31
Delta lines:  +3 -1
-------------------
--- documentcontainer.cxx       2008-06-25 14:51:30+0000        1.30
+++ documentcontainer.cxx       2008-08-19 09:53:23+0000        1.31
@@ -83,6 +83,8 @@
 #ifndef CONNECTIVITY_SQLERROR_HXX
 #include <connectivity/sqlerror.hxx>
 #endif
+#include "core_resource.hxx"
+#include "core_resource.hrc"
 
 #include <vcl/svapp.hxx>
 #include <vos/mutex.hxx>
@@ -547,7 +549,7 @@
                ::rtl::OUString sName;
                if ( !lcl_queryContent(_sURL,xNameContainer,aContent,sName) )
         {
-            ::rtl::OUString sMessage( ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM( "Unable to find the document '$name$'." ) ) );
+            ::rtl::OUString sMessage( DBA_RES( RID_STR_NAME_NOT_FOUND ) );
                 // TODO: resource
             ::comphelper::string::searchAndReplaceAsciiI( sMessage, "$name$", 
_sURL );
                        throw IllegalArgumentException( sMessage, *this, 1 );




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

Reply via email to