summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svtreebx.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-05 12:27:19 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-05-05 12:27:19 +0200
commitc59fc0d76cacdaaf1c1cdd4e8b820acb42f8b4d1 (patch)
treedc6a42be1c19be453e3af01ee9612563a03c1d15 /svtools/source/contnr/svtreebx.cxx
parenta18ceca0a76f0b8d36d2e377dc929c8cea90c7fd (diff)
os141: do not consume COMMAND_CONTEXTMENU command events when not handled, otherwise they will not be propagated to the VCLXwindow, which means UNO listeners cannot handle them
Diffstat (limited to 'svtools/source/contnr/svtreebx.cxx')
-rw-r--r--svtools/source/contnr/svtreebx.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/contnr/svtreebx.cxx b/svtools/source/contnr/svtreebx.cxx
index 736f27a1eafb..9f599cbdb22e 100644
--- a/svtools/source/contnr/svtreebx.cxx
+++ b/svtools/source/contnr/svtreebx.cxx
@@ -2250,7 +2250,8 @@ Region SvTreeListBox::GetDragRegion() const
void SvTreeListBox::Command( const CommandEvent& rCEvt )
{
DBG_CHKTHIS(SvTreeListBox,0);
- pImp->Command( rCEvt );
+ if ( !pImp->Command( rCEvt ) )
+ SvLBox::Command( rCEvt );
}