Kaydet (Commit) c3b1ce20 authored tarafından Noel Grandin's avatar Noel Grandin

Fix assert statement

which I messed up in 7e4db91a
  "Convert SfxShellStack_Impl from SfxPtrArr to std::vector"

Change-Id: I177972fddb8a0f2237085fdc2892d6992c5fc746
üst 7de8db6a
......@@ -1588,7 +1588,7 @@ void SfxDispatcher::FlushImpl()
if(i->bPush)
{
// Actually push
DBG_ASSERT( std::find(pImp->aStack.begin(), pImp->aStack.end(), i->pCluster) != pImp->aStack.end(),
DBG_ASSERT( std::find(pImp->aStack.begin(), pImp->aStack.end(), i->pCluster) == pImp->aStack.end(),
"pushed SfxShell already on stack" );
pImp->aStack.push_back(i->pCluster);
i->pCluster->SetDisableFlags(pImp->nDisableFlags);
......
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