diff options
-rw-r--r-- | sfx2/source/control/bindings.cxx | 2 |
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 |