From 5c37cad1cdd52dd0dbf0c3ba6b04a6b0378e836a Mon Sep 17 00:00:00 2001 From: Vladimir Glazunov Date: Wed, 24 Mar 2010 15:36:04 +0100 Subject: #i108917# fixed confusing behaviour of context menu and meta drop down menu in impress comments window - transplanted from 263351@impresscomments1 --- sd/source/ui/annotations/annotationwindow.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sd/source/ui/annotations/annotationwindow.cxx') diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index eaacc332725d..ad6709c776ce 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -780,6 +780,8 @@ void AnnotationWindow::Command( const CommandEvent& rCEvt ) { if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) { + if( mpMeta->IsVisible() &&(mpMeta->GetPosPixel().Y() < rCEvt.GetMousePosPixel().Y()) ) + return; mrManager.ExecuteAnnotationContextMenu( mxAnnotation, this, Rectangle(rCEvt.GetMousePosPixel(),Size(1,1)) ); } else -- cgit