[Libreoffice-commits] core.git: sfx2/source
Noel Grandin
noel at peralex.com
Wed Apr 17 01:20:15 PDT 2013
sfx2/source/control/dispatch.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c3b1ce2097ea3b43234be3dfb1d529335b980ff8
Author: Noel Grandin <noel at peralex.com>
Date: Wed Apr 17 10:18:33 2013 +0200
Fix assert statement
which I messed up in 7e4db91a3900fd0bbce0f0592a045458a37862b3
"Convert SfxShellStack_Impl from SfxPtrArr to std::vector"
Change-Id: I177972fddb8a0f2237085fdc2892d6992c5fc746
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 26fd6f0..3ba81de 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);
More information about the Libreoffice-commits
mailing list