diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-17 12:54:00 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-18 06:05:43 +0200 |
commit | 44fbaa838f26d5bd13101438941b9fd2bdf7e467 (patch) | |
tree | 162bc9f75d77602813a1c598852f7afbf387a776 /sfx2 | |
parent | e1cf54dbd0f8823c4b85af65889c40a6449a71c3 (diff) |
fix brain fart
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; } } |