Tag: cws_src680_warnings01
User: fs      
Date: 06/06/13 01:47:26

Modified:
 /dba/connectivity/source/drivers/mozab/
  MConnection.cxx

Log:
 #i66334# don't load error resource without error id

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MConnection.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MConnection.cxx?r1=1.19.28.6&r2=1.19.28.7
Delta lines:  +3 -3
-------------------
--- MConnection.cxx     18 May 2006 12:06:19 -0000      1.19.28.6
+++ MConnection.cxx     13 Jun 2006 08:47:23 -0000      1.19.28.7
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: MConnection.cxx,v $
  *
- *  $Revision: 1.19.28.6 $
+ *  $Revision: 1.19.28.7 $
  *
- *  last change: $Author: fs $ $Date: 2006/05/18 12:06:19 $
+ *  last change: $Author: fs $ $Date: 2006/06/13 08:47:23 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -607,7 +607,7 @@
         // this means that we're disposed, and how could anybody request us to 
throw an exception then?
 
     ::rtl::OUString sErrorMessage;
-    if ( pResourceBundle.get() )
+    if ( pResourceBundle.get() && _nErrorResourceId )
         sErrorMessage = pResourceBundle->loadString( _nErrorResourceId );
     ::dbtools::throwGenericSQLException( sErrorMessage, *this );
 }




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

Reply via email to