summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-21 10:10:11 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-21 10:10:51 +0200
commit783816241f8a50147fcbea4738aade514589c935 (patch)
tree3c73592bda34d21227a04b46b7f1728751e7b817 /sfx2
parentf0271b89da42d98bb4fa7ebbd24c0e15e8a4f620 (diff)
fix brain fart
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/bindings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 049ec70d75..931830f4c7 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1173,7 +1173,7 @@ const SfxPoolItem* SfxBindings::Execute_Impl( sal_uInt16 nId, const SfxPoolItem*
DeleteItemOnIdle( pVoid );
return pVoid;
}
- else if ( pCache ) // just in case it was created, but GetDispatch() is 0
+ else if ( pCache && bDeleteCache ) // just in case it was created, but GetDispatch() is 0
DELETEZ( pCache );
// slot is handled internally by SfxDispatcher