summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/statcach.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx
index e27fe96921da..d528a0d0088c 100644
--- a/sfx2/source/control/statcach.cxx
+++ b/sfx2/source/control/statcach.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: statcach.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: obo $ $Date: 2004-07-06 13:34:57 $
+ * last change: $Author: obo $ $Date: 2004-11-16 16:21:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -503,8 +503,7 @@ void SfxStateCache::SetCachedState( BOOL bAlways )
{
DBG_MEMTEST();
DBG_CHKTHIS(SfxStateCache, 0);
- DBG_ASSERT( pController, "Cache ohne ControllerItem" );
- DBG_ASSERT( pController->GetId()==nId, "Cache mit falschem ControllerItem" );
+ DBG_ASSERT(pController==NULL||pController->GetId()==nId, "Cache mit falschem ControllerItem" );
DBG_PROFSTART(SfxStateCacheSetState);
// nur updaten wenn cached item vorhanden und auch verarbeitbar