summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-10-27 13:07:07 +0300
committerTor Lillqvist <tml@collabora.com>2021-10-27 13:16:03 +0200
commit05bf76c00209a5a5d64f760ed242eec365bff7c3 (patch)
treea5fb9b0ee44ebfd80977687bcdd4edd0356812f5 /vcl
parentfdc2333daa4afc44f33ebba4e06ef79c2eb52437 (diff)
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 <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/osx/salframeview.mm7
1 files changed, 0 insertions, 7 deletions
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
}