WaE: 'DBG_UTIL' is not defined, evaluates to 0

Change-Id: Ib902f3f4b428d5c23347a31773011ddf74f28e99
This commit is contained in:
Tor Lillqvist 2013-03-20 22:34:56 +02:00
parent 88739efc12
commit 61d95972ff
2 changed files with 5 additions and 5 deletions

View file

@ -233,7 +233,7 @@ namespace svt { namespace table
//==================================================================== //====================================================================
DBG_NAME( TableControl_Impl ) DBG_NAME( TableControl_Impl )
#if DBG_UTIL #ifdef DBG_UTIL
//==================================================================== //====================================================================
//= SuspendInvariants //= SuspendInvariants
//==================================================================== //====================================================================
@ -263,7 +263,7 @@ namespace svt { namespace table
#define DBG_SUSPEND_INV( flags ) #define DBG_SUSPEND_INV( flags )
#endif #endif
#if DBG_UTIL #ifdef DBG_UTIL
//==================================================================== //====================================================================
const char* TableControl_Impl_checkInvariants( const void* _pInstance ) const char* TableControl_Impl_checkInvariants( const void* _pInstance )
{ {
@ -448,7 +448,7 @@ namespace svt { namespace table
,m_nAnchor ( -1 ) ,m_nAnchor ( -1 )
,m_bUpdatingColWidths ( false ) ,m_bUpdatingColWidths ( false )
,m_pAccessibleTable ( NULL ) ,m_pAccessibleTable ( NULL )
#if DBG_UTIL #ifdef DBG_UTIL
,m_nRequiredInvariants ( INV_SCROLL_POSITION ) ,m_nRequiredInvariants ( INV_SCROLL_POSITION )
#endif #endif
{ {

View file

@ -147,7 +147,7 @@ namespace svt { namespace table
AccessibleFactoryAccess m_aFactoryAccess; AccessibleFactoryAccess m_aFactoryAccess;
IAccessibleTableControl* m_pAccessibleTable; IAccessibleTableControl* m_pAccessibleTable;
#if DBG_UTIL #ifdef DBG_UTIL
#define INV_SCROLL_POSITION 1 #define INV_SCROLL_POSITION 1
/** represents a bitmask of invariants to check /** represents a bitmask of invariants to check
@ -178,7 +178,7 @@ namespace svt { namespace table
TableControl_Impl( TableControl& _rAntiImpl ); TableControl_Impl( TableControl& _rAntiImpl );
~TableControl_Impl(); ~TableControl_Impl();
#if DBG_UTIL #ifdef DBG_UTIL
const sal_Char* impl_checkInvariants() const; const sal_Char* impl_checkInvariants() const;
#endif #endif
/** to be called when the anti-impl instance has been resized /** to be called when the anti-impl instance has been resized