summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/stdtabcontroller.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx
index 42d614702856..c9fb9f99a1e1 100644
--- a/toolkit/source/controls/stdtabcontroller.cxx
+++ b/toolkit/source/controls/stdtabcontroller.cxx
@@ -81,11 +81,9 @@ bool StdTabController::ImplCreateComponentSequence(
aSeq.realloc(nRealControls);
rControls = aSeq;
}
-#ifdef DBG_UTIL
- DBG_ASSERT( rControls.getLength() <= rModels.getLength(), "StdTabController:ImplCreateComponentSequence: inconsistence!" );
- // there may be less controls than models, but never more controls than models
-#endif
+ // there may be less controls than models, but never more controls than models
+ assert(rControls.getLength() <= rModels.getLength());
const Reference< XControl > * pControls = rControls.getConstArray();
sal_uInt32 nCtrls = rControls.getLength();