summaryrefslogtreecommitdiff
path: root/sfx2/source/toolbox/tbxitem.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-06 09:17:09 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-06 09:17:09 +0000
commit0f453dccdd5081db90d98393f00c04c84fce00f1 (patch)
tree6dfe9a660f34dc165acd17c3c54deb86714d689e /sfx2/source/toolbox/tbxitem.cxx
parent558425cb275aa3c59de4c37b89def8806ca4424e (diff)
INTEGRATION: CWS oj14 (1.64.38); FILE MERGED
2007/02/20 15:56:36 oj 1.64.38.2: RESYNC: (1.64-1.65); FILE MERGED 2007/02/20 12:20:42 oj 1.64.38.1: get slotId from Path
Diffstat (limited to 'sfx2/source/toolbox/tbxitem.cxx')
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 4a4af93bd1..d9b56b7ea9 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tbxitem.cxx,v $
*
- * $Revision: 1.66 $
+ * $Revision: 1.67 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 23:33:00 $
+ * last change: $Author: rt $ $Date: 2007-07-06 10:17:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -616,6 +616,8 @@ throw ( ::com::sun::star::uno::RuntimeException )
const SfxSlot* pSlot = rPool.GetUnoSlot( rEvent.FeatureURL.Path );
if ( pSlot )
nSlotId = pSlot->GetSlotId();
+ else if ( m_aCommandURL == rEvent.FeatureURL.Path )
+ nSlotId = GetSlotId();
if ( nSlotId > 0 )
{