Kaydet (Commit) 19efa546 authored tarafından Michael Stahl's avatar Michael Stahl

sw: assert that UnlockExpFlds() isn't called when it's not locked

Change-Id: Ibe2394978b776dd4a91a253856040fc45f81c7e9
üst 85fde373
......@@ -1207,6 +1207,7 @@ void DocumentFieldsManager::LockExpFlds()
void DocumentFieldsManager::UnlockExpFlds()
{
assert(mnLockExpFld != 0);
if( mnLockExpFld )
--mnLockExpFld;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment