summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-26 07:28:55 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-26 07:28:55 +0000
commitca610c8afcd042cd51f59e982b69a6cdc962be58 (patch)
tree7648dbdde1d483270a18a9f654dca670d04bab67 /sfx2
parent943d2689ca468c838ac2c130436d1c2241d46804 (diff)
INTEGRATION: CWS fwk03 (1.25.174); FILE MERGED
2003/05/16 09:54:53 mba 1.25.174.1: #109534#: allow to send status updates to SfxControllers for arbitrary command URLs
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 547fc9e323e9..da70f7296e21 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoctitm.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: mba $ $Date: 2002-10-08 16:04:49 $
+ * last change: $Author: vg $ $Date: 2003-05-26 08:28:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -160,13 +160,6 @@ void SAL_CALL SfxUnoControllerItem::statusChanged(const ::com::sun::star::frame:
}
else if ( pCtrlItem )
{
- // pass new status to the SfxControllerItem
- if ( aCommand.Protocol.compareToAscii("slot:") != COMPARE_EQUAL &&
- aCommand.Protocol.compareToAscii(".uno:") != COMPARE_EQUAL )
- return;
-// if ( aCommand.Complete.compareToAscii( "macro:", 6 ) == COMPARE_EQUAL )
-// return;
-
SfxItemState eState = SFX_ITEM_DISABLED;
SfxPoolItem* pItem = NULL;
if ( rEvent.IsEnabled )