Tag: cws_dev300_dba30b
User: fs      
Date: 2008-03-17 10:11:05+0000
Modified:
   dba/dbaccess/source/core/dataaccess/databasecontext.cxx

Log:
 #i87121# corrected assertion

File Changes:

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

File [changed]: databasecontext.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasecontext.cxx?r1=1.38.4.1&r2=1.38.4.2
Delta lines:  +4 -3
-------------------
--- databasecontext.cxx 2008-03-17 09:27:17+0000        1.38.4.1
+++ databasecontext.cxx 2008-03-17 10:11:03+0000        1.38.4.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: databasecontext.cxx,v $
  *
- *  $Revision: 1.38.4.1 $
+ *  $Revision: 1.38.4.2 $
  *
- *  last change: $Author: fs $ $Date: 2008/03/17 09:27:17 $
+ *  last change: $Author: fs $ $Date: 2008/03/17 10:11:03 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -481,7 +481,8 @@
            m_aDatasourceProperties[ _rModelImpl.m_sName ] = 
aRememberProps.getPropertyValues();
     }
     else
-        OSL_ENSURE( false, "ODatabaseContext::storeTransientProperties: don't 
know this data source!s" );
+        OSL_ENSURE( ( sDocumentURL.getLength() == 0 ) && ( 
_rModelImpl.m_sName.getLength() == 0 ),
+            "ODatabaseContext::storeTransientProperties: a non-empty data 
source which I do not know?!" );
 }
 
 
//------------------------------------------------------------------------------




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

Reply via email to