[Libreoffice-commits] core.git: vcl/osx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 18 18:16:28 UTC 2018


 vcl/osx/vclnsapp.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c06570c6e919ee090715049abfdfbd55d34aa467
Author:     Alyssa Ross <hi at alyssa.is>
AuthorDate: Sun Nov 18 10:42:29 2018 +0000
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Nov 18 19:16:06 2018 +0100

    Fix build on macOS 10.11
    
    Setting an undefined property is a hard error, even though we check for
    the property first. Using message notation instead reduces this to a
    warning, and allows the build to continue on systems without
    allowsAutomaticWindowTabbing.
    
    Change-Id: I572d8900fdeca16c733d541084d64385891733c1
    Reviewed-on: https://gerrit.libreoffice.org/63526
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>

diff --git a/vcl/osx/vclnsapp.mm b/vcl/osx/vclnsapp.mm
index 321fa2d6a68c..223094e96c98 100644
--- a/vcl/osx/vclnsapp.mm
+++ b/vcl/osx/vclnsapp.mm
@@ -64,7 +64,7 @@
     (void)pNotification;
     if( [NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)] )
     {
-        NSWindow.allowsAutomaticWindowTabbing = NO;
+        [NSWindow setAllowsAutomaticWindowTabbing:NO];
     }
 }
 


More information about the Libreoffice-commits mailing list