summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-08-19 08:53:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-08-19 08:53:23 +0000
commitad245cf09c4eeb7363dce40b7fb660d881e72860 (patch)
treee860c8179ddfa005eef24fe1d4eecbdf982edf0e /dbaccess
parent3c377b3ebb9f3f351a8f5174440628f719b73c83 (diff)
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
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/documentcontainer.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx
index fc5efb6fb586..25ddba5e1b68 100644
--- a/dbaccess/source/core/dataaccess/documentcontainer.cxx
+++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: documentcontainer.cxx,v $
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
* This file is part of OpenOffice.org.
*
@@ -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 @@ Reference< XComponent > SAL_CALL ODocumentContainer::loadComponentFromURL( const
::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 );