Tag: cws_dev300_dba31a
User: oj      
Date: 2008-06-05 13:04:56+0000
Modified:
   dba/dbaccess/source/core/dataaccess/documentcontainer.cxx
   dba/dbaccess/source/core/inc/core_resource.hrc
   dba/dbaccess/source/core/resource/strings.src

Log:
 #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.29&r2=1.29.40.1
Delta lines:  +5 -3
-------------------
--- documentcontainer.cxx       2008-04-10 12:45:51+0000        1.29
+++ documentcontainer.cxx       2008-06-05 13:04:53+0000        1.29.40.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: documentcontainer.cxx,v $
- * $Revision: 1.29 $
+ * $Revision: 1.29.40.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -82,6 +82,8 @@
 #ifndef CONNECTIVITY_SQLERROR_HXX
 #include <connectivity/sqlerror.hxx>
 #endif
+#include "core_resource.hxx"
+#include "core_resource.hrc"
 
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
@@ -530,7 +532,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 );

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

File [changed]: core_resource.hrc
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/inc/core_resource.hrc?r1=1.16&r2=1.16.42.1
Delta lines:  +3 -2
-------------------
--- core_resource.hrc   2008-04-10 12:54:17+0000        1.16
+++ core_resource.hrc   2008-06-05 13:04:53+0000        1.16.42.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: core_resource.hrc,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.42.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -85,6 +85,7 @@
 #define RID_STR_NAME_ALREADY_USED               ( RID_CORE_STRINGS_START + 42 )
 #define RID_STR_OBJECT_CONTAINER_MISMATCH       ( RID_CORE_STRINGS_START + 43 )
 #define RID_STR_OBJECT_ALREADY_CONTAINED        ( RID_CORE_STRINGS_START + 44 )
+#define RID_STR_NAME_NOT_FOUND                  ( RID_CORE_STRINGS_START + 45 )
 
 #endif // _DBA_CORE_RESOURCE_HRC_
 

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

File [changed]: strings.src
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/resource/strings.src?r1=1.55&r2=1.55.42.1
Delta lines:  +6 -2
-------------------
--- strings.src 2008-04-10 13:05:16+0000        1.55
+++ strings.src 2008-06-05 13:04:53+0000        1.55.42.1
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: strings.src,v $
- * $Revision: 1.55 $
+ * $Revision: 1.55.42.1 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -229,4 +229,8 @@
 {
     Text [ en-US ] = "The object already is, with a different name, part of 
the container.";
 };
+String RID_STR_NAME_NOT_FOUND
+{
+    Text [ en-US ] = "Unable to find the document '$name$'.";
+};
 




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

Reply via email to