summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility/accessiblestatesethelper.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2002-02-21 11:43:12 +0000
committerSascha Ballach <sab@openoffice.org>2002-02-21 11:43:12 +0000
commit19c4444d024b66666544498b65ac672fd12cacb7 (patch)
treebe8a4d8813c732594aecdd742d8bad88295c2d59 /unotools/source/accessibility/accessiblestatesethelper.cxx
parentb45cc7af55603e0031b4481c97f8573147ca8b8a (diff)
#95584#; correct the assertion condition
Diffstat (limited to 'unotools/source/accessibility/accessiblestatesethelper.cxx')
-rw-r--r--unotools/source/accessibility/accessiblestatesethelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx
index 4a2a8d44a82a..a2f3bdeddd4a 100644
--- a/unotools/source/accessibility/accessiblestatesethelper.cxx
+++ b/unotools/source/accessibility/accessiblestatesethelper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: accessiblestatesethelper.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: sab $ $Date: 2002-02-20 12:45:28 $
+ * last change: $Author: sab $ $Date: 2002-02-21 12:43:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -124,21 +124,21 @@ sal_Bool AccessibleStateSetHelperImpl::IsEmpty ()
sal_Bool AccessibleStateSetHelperImpl::Contains (sal_Int16 aState)
throw (uno::RuntimeException)
{
- DBG_ASSERT(aState >= BITFIELDSIZE, "the statesset is to small")
+ DBG_ASSERT(aState < BITFIELDSIZE, "the statesset is to small")
return maStates.test(aState);
}
void AccessibleStateSetHelperImpl::AddState(sal_Int16 aState)
throw (uno::RuntimeException)
{
- DBG_ASSERT(aState >= BITFIELDSIZE, "the statesset is to small")
+ DBG_ASSERT(aState < BITFIELDSIZE, "the statesset is to small")
maStates.set(aState);
}
void AccessibleStateSetHelperImpl::RemoveState(sal_Int16 aState)
throw (uno::RuntimeException)
{
- DBG_ASSERT(aState >= BITFIELDSIZE, "the statesset is to small")
+ DBG_ASSERT(aState < BITFIELDSIZE, "the statesset is to small")
maStates.set(aState, 0);
}