vcl/osx/salframeview.mm |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 05bf76c00209a5a5d64f760ed242eec365bff7c3
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Oct 27 13:07:07 2021 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Oct 27 13:16:03 2021 +0200

    Remove lines that have been ifdeffed out since 2008
    
    Change-Id: I56e17e876803a11047904187ae2fd40fbae01487
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124264
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index a9bed1fc5b4f..ee245af64820 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -262,13 +262,6 @@ static AquaSalFrame* getMouseContainerFrame()
         {
             AquaSalMenu::setDefaultMenu();
         }
-        #if 0
-        // FIXME: we should disable menus while in modal mode
-        // however from down here there is currently no reliable way to
-        // find out when to do this
-        if( (mpFrame->mpParent && 
mpFrame->mpParent->GetWindow()->IsInModalMode()) )
-            AquaSalMenu::enableMainMenu( false );
-        #endif
         mpFrame->CallCallback( SalEvent::GetFocus, nullptr );
         mpFrame->SendPaintEvent(); // repaint controls as active
     }

Reply via email to