Tag: cws_dev300_dba30d
User: fs      
Date: 2008-06-09 13:45:07+0000
Modified:
   dba/dbaccess/source/ui/browser/genericcontroller.cxx

Log:
 corrected assertions

File Changes:

Directory: /dba/dbaccess/source/ui/browser/
===========================================

File [changed]: genericcontroller.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.88.6.3&r2=1.88.6.4
Delta lines:  +5 -5
-------------------
--- genericcontroller.cxx       2008-06-02 08:20:14+0000        1.88.6.3
+++ genericcontroller.cxx       2008-06-09 13:45:05+0000        1.88.6.4
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: genericcontroller.cxx,v $
- * $Revision: 1.88.6.3 $
+ * $Revision: 1.88.6.4 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -682,7 +682,7 @@
 {
        Reference< XDispatch > xReturn;
 
-    OSL_PRECOND( m_aSupportedFeatures.empty(), 
"OGenericUnoController::queryDispatch: shouldn't this be filled at construction 
time?" );
+    OSL_PRECOND( !m_aSupportedFeatures.empty(), 
"OGenericUnoController::queryDispatch: shouldn't this be filled at construction 
time?" );
     if ( m_aSupportedFeatures.empty() )
         fillSupportedFeatures();
 
@@ -809,7 +809,7 @@
                        ++iterSearch;
        }
 
-    OSL_PRECOND( m_aSupportedFeatures.empty(), 
"OGenericUnoController::removeStatusListener: shouldn't this be filled at 
construction time?" );
+    OSL_PRECOND( !m_aSupportedFeatures.empty(), 
"OGenericUnoController::removeStatusListener: shouldn't this be filled at 
construction time?" );
     if ( m_aSupportedFeatures.empty() )
         fillSupportedFeatures();
 
@@ -1182,7 +1182,7 @@
 // 
-----------------------------------------------------------------------------
 void OGenericUnoController::executeUnChecked(const util::URL& _rCommand, const 
Sequence< PropertyValue >& aArgs)
 {
-    OSL_PRECOND( m_aSupportedFeatures.empty(), 
"OGenericUnoController::executeUnChecked: shouldn't this be filled at 
construction time?" );
+    OSL_PRECOND( !m_aSupportedFeatures.empty(), 
"OGenericUnoController::executeUnChecked: shouldn't this be filled at 
construction time?" );
     if ( m_aSupportedFeatures.empty() )
         fillSupportedFeatures();
 
@@ -1193,7 +1193,7 @@
 // 
-----------------------------------------------------------------------------
 void OGenericUnoController::executeChecked(const util::URL& _rCommand, const 
Sequence< PropertyValue >& aArgs)
 {
-    OSL_PRECOND( m_aSupportedFeatures.empty(), 
"OGenericUnoController::executeChecked: shouldn't this be filled at 
construction time?" );
+    OSL_PRECOND( !m_aSupportedFeatures.empty(), 
"OGenericUnoController::executeChecked: shouldn't this be filled at 
construction time?" );
     if ( m_aSupportedFeatures.empty() )
         fillSupportedFeatures();
 




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

Reply via email to