diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-10-10 21:26:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-10-11 08:13:20 +0200 |
commit | cd3c315e5a5c7d0a961418cfce3b1683f9ab5ad9 (patch) | |
tree | c919594ead1deeaa2d7e24886c06b1133994ad41 /vcl/osx/salmenu.cxx | |
parent | 9943f37e8a80f2c4df6d58da4c50f3e7f3d6f3ce (diff) |
-Werror,-Wdeprecated-declarations (--with-macosx-version-min-required=10.14)
These are all the cases where the warning suggests a direct replacement.
This is a companion to 2f2c9df8e270ede0fd71b146380c3883b75d8f0d
"-Werror,-Wdeprecated-declarations (--with-macosx-version-min-required=10.14)"
which covered all the other cases (via SAL_WNODEPRECATED_PUSH/POP) that offered
no direct replacement.
Change-Id: If22a3f8cec1ff22fd1ac4b9d2f2bffde50e11e86
Reviewed-on: https://gerrit.libreoffice.org/61633
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx/salmenu.cxx')
-rw-r--r-- | vcl/osx/salmenu.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx index 5a7c80a4a12d..4a99e4305324 100644 --- a/vcl/osx/salmenu.cxx +++ b/vcl/osx/salmenu.cxx @@ -562,7 +562,7 @@ void AquaSalMenu::CheckItem( unsigned nPos, bool bCheck ) if( nPos < maItems.size() ) { NSMenuItem* pItem = maItems[nPos]->mpMenuItem; - [pItem setState: bCheck ? NSOnState : NSOffState]; + [pItem setState: bCheck ? NSControlStateValueOn : NSControlStateValueOff]; } } |