Author: hanya
Date: Wed Jan  8 13:51:46 2014
New Revision: 1556530

URL: http://svn.apache.org/r1556530
Log:
#i118357# allow to open recent list of documents in the hole right part of the 
open button separated by the vertical line on the Start Center

Modified:
    openoffice/trunk/main/vcl/source/control/menubtn.cxx

Modified: openoffice/trunk/main/vcl/source/control/menubtn.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/control/menubtn.cxx?rev=1556530&r1=1556529&r2=1556530&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/control/menubtn.cxx (original)
+++ openoffice/trunk/main/vcl/source/control/menubtn.cxx Wed Jan  8 13:51:46 
2014
@@ -161,7 +161,9 @@ void MenuButton::MouseButtonDown( const 
        {
            // if the separated dropdown symbol is hit,
            // execute the popup immediately
-           if( ! ImplGetSymbolRect().IsInside( rMEvt.GetPosPixel() ) )
+        if ( ImplGetSymbolRect().IsEmpty() || 
+            ( PushButton::ImplHitTestPushButton( this, rMEvt.GetPosPixel() ) 
&& 
+            rMEvt.GetPosPixel().X() < ImplGetSymbolRect().Left() ) )
            {
             if ( !mpMenuTimer )
             {


Reply via email to