summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-13 11:17:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-13 11:17:17 +0100
commitb1091fa9d8e40e34876faf9471dab99dc3e64ff3 (patch)
tree383821bcc049cdeaf48a642f8a0f84d6da4838c4 /svx
parent9d71fa66665fd841b1be18901c49359a454b0448 (diff)
WaE on enable-dbgutil
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/formcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 952b76bf9b46..638072f1cd2b 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -1716,7 +1716,7 @@ void FormController::focusGained(const FocusEvent& e) throw( RuntimeException )
)
{
// check the old control if the content is ok
-#if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
Reference< XBoundControl > xLockingTest(m_xCurrentControl, UNO_QUERY);
sal_Bool bControlIsLocked = xLockingTest.is() && xLockingTest->getLock();
OSL_ENSURE(!bControlIsLocked, "FormController::Gained: I'm modified and the current control is locked ? How this ?");