[Libreoffice-commits] .: sfx2/source

David Tardon dtardon at kemper.freedesktop.org
Sat May 21 01:11:26 PDT 2011


 sfx2/source/control/bindings.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 783816241f8a50147fcbea4738aade514589c935
Author: David Tardon <dtardon at redhat.com>
Date:   Sat May 21 10:10:11 2011 +0200

    fix brain fart

diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 049ec70..931830f 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


More information about the Libreoffice-commits mailing list