diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/statcach.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index cd60b7a2ec5b..50011820f4bf 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -410,7 +410,7 @@ void SfxStateCache::SetVisibleState( sal_Bool bShow ) if ( pInternalController ) pInternalController->StateChanged( nId, eState, pState ); - if ( !bDeleteItem ) + if ( bDeleteItem ) delete pState; } } |