diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-17 10:18:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-17 10:19:24 +0200 |
commit | c3b1ce2097ea3b43234be3dfb1d529335b980ff8 (patch) | |
tree | 42fcff6a32b96e4fd7f5b53e97262001aac488d2 /sfx2 | |
parent | 7de8db6a95d644c175b77a132c49cdc1eead1eac (diff) |
Fix assert statement
which I messed up in 7e4db91a3900fd0bbce0f0592a045458a37862b3
"Convert SfxShellStack_Impl from SfxPtrArr to std::vector"
Change-Id: I177972fddb8a0f2237085fdc2892d6992c5fc746
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/dispatch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index 26fd6f085ff4..3ba81de9114d 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -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); |