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

New commits:
commit 6031935412efbd610486af11561b8818d3e4d1bf
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Feb 9 09:12:47 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Feb 9 12:41:46 2023 +0000

    loplugin:staticaccess
    
    Change-Id: I24aa6b773f13b5d9924fbc867090ab9bf8c42045
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146681
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index dd3b9fa1d411..bf2257be9fac 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1262,7 +1262,7 @@ void AquaSalFrame::UpdateDarkMode()
 {
     if (@available(macOS 10.14, iOS 13, *))
     {
-        switch (Application::GetSettings().GetMiscSettings().GetDarkMode())
+        switch (MiscSettings::GetDarkMode())
         {
             case 0: // auto
             default:

Reply via email to