summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/AccessibleControlShape.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-04-15 16:28:36 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-04-15 16:28:36 +0000
commit84b8a5bf163a5d6e9813e2764ffec8dcc6f622f1 (patch)
tree91d568ac85f6700429e1f331354edfe7e466b9e9 /svx/source/accessibility/AccessibleControlShape.cxx
parent57b3038746b664144fb177e4de4ba1a41bb216dc (diff)
INTEGRATION: CWS dbgmacros1 (1.14.8.1.70); FILE MERGED
2003/04/10 08:45:43 kso 1.14.8.1.70.1: #108413# - debug macro unification.
Diffstat (limited to 'svx/source/accessibility/AccessibleControlShape.cxx')
-rw-r--r--svx/source/accessibility/AccessibleControlShape.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/accessibility/AccessibleControlShape.cxx b/svx/source/accessibility/AccessibleControlShape.cxx
index 65a0747f79ae..3d11a3e51307 100644
--- a/svx/source/accessibility/AccessibleControlShape.cxx
+++ b/svx/source/accessibility/AccessibleControlShape.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AccessibleControlShape.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 15:00:24 $
+ * last change: $Author: vg $ $Date: 2003-04-15 17:28:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -442,7 +442,7 @@ void SAL_CALL AccessibleControlShape::propertyChange( const PropertyChangeEvent&
{
SetAccessibleDescription (CreateAccessibleDescription());
}
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
else
{
OSL_ENSURE( sal_False, "AccessibleControlShape::propertyChange: where did this come from?" );
@@ -544,7 +544,7 @@ void SAL_CALL AccessibleControlShape::modeChanged( const ModeChangeEvent& _rSour
// the responsibility of our parent.
OSL_VERIFY( mpParent->ReplaceChild ( this, mxShape, mnIndex, maShapeTreeInfo ) );
}
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
else
OSL_ENSURE( sal_False, "AccessibleControlShape::modeChanged: where did this come from?" );
#endif
@@ -731,7 +731,7 @@ void AccessibleControlShape::startStateMultiplexing()
{
OSL_PRECOND( !m_bMultiplexingStates, "AccessibleControlShape::startStateMultiplexing: already multiplexing!" );
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
// we should have a control, and it should be in alive mode
OSL_PRECOND( isAliveMode( m_xUnoControl ),
"AccessibleControlShape::startStateMultiplexing: should be done in alive mode only!" );
@@ -826,7 +826,7 @@ void AccessibleControlShape::initializeComposedState()
pComposedStates->RemoveState( AccessibleStateType::ENABLED ); // this is controlled by the UNO-control
pComposedStates->RemoveState( AccessibleStateType::FOCUSABLE ); // this is controlled by the UNO-control
pComposedStates->RemoveState( AccessibleStateType::SELECTABLE ); // this does not hold for an alive UNO-control
-#ifdef _DEBUG
+#if OSL_DEBUG_LEVEL > 0
// now, only states which are not in the responsibility of the UNO control should be part of this state set
{
Sequence< sal_Int16 > aInitStates = pComposedStates->getStates();