summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/workwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/workwin.cxx')
-rw-r--r--sfx2/source/appl/workwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 26c211d644f8..b7f6eddd9777 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -543,6 +543,7 @@ void SfxWorkWindow::Lock_Impl( bool bLock )
if ( m_nLock<0 )
{
OSL_FAIL("Lock count underflow!");
+ assert(m_nLock >= 0);
m_nLock = 0;
}