Tag: cws_src680_dba203b
User: fs      
Date: 06/03/27 01:32:00

Modified:
 /dba/dbaccess/source/ui/browser/
  genericcontroller.cxx

Log:
 m_bDescribingSupportedFeatures available in non-pro version all the time

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.66&r2=1.66.98.1
Delta lines:  +8 -8
-------------------
--- genericcontroller.cxx       23 Sep 2005 12:21:38 -0000      1.66
+++ genericcontroller.cxx       27 Mar 2006 09:31:55 -0000      1.66.98.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: genericcontroller.cxx,v $
  *
- *  $Revision: 1.66 $
+ *  $Revision: 1.66.98.1 $
  *
- *  last change: $Author: hr $ $Date: 2005/09/23 12:21:38 $
+ *  last change: $Author: fs $ $Date: 2006/03/27 09:31:55 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -162,7 +162,7 @@
        ,m_pView(NULL)
        ,m_bPreview(sal_False)
        ,m_bReadOnly(sal_False)
-#if OSL_DEBUG_LEVEL >= 2
+#ifdef DBG_UTIL
     ,m_bDescribingSupportedFeatures( false )
 #endif
 {
@@ -195,12 +195,12 @@
                getView()->Show();
        }
 
-#if OSL_DEBUG_LEVEL >= 2
+#ifdef DBG_UTIL
     m_bDescribingSupportedFeatures = true;
 #endif
     m_aSupportedFeatures.clear();
        describeSupportedFeatures();
-#if OSL_DEBUG_LEVEL >= 2
+#ifdef DBG_UTIL
     m_bDescribingSupportedFeatures = false;
 #endif
 
@@ -830,8 +830,8 @@
 void OGenericUnoController::implDescribeSupportedFeature( const sal_Char* 
_pAsciiCommandURL,
         sal_uInt16 _nFeatureId, sal_Int16 _nCommandGroup )
 {
-#if OSL_DEBUG_LEVEL >= 2
-    OSL_ENSURE( m_bDescribingSupportedFeatures, 
"OGenericUnoController::implDescribeSupportedFeature: bad timing for this 
call!" );
+#ifdef DBG_UTIL
+    DBG_ASSERT( m_bDescribingSupportedFeatures, 
"OGenericUnoController::implDescribeSupportedFeature: bad timing for this 
call!" );
 #endif
 
     ControllerFeature aFeature;




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

Reply via email to