diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-01-13 08:45:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-01-13 10:32:26 +0000 |
commit | 65596d7062ac4edadeef84cc335a585ffa942fe0 (patch) | |
tree | 016fb8e13bafe6cde357caf595b64ae9bbcbffed /vcl/win | |
parent | 22cb88b25ba9a52ca0e0eaa3fd116f5fbcc9422f (diff) |
tdf#152994 actually return in this case
Change-Id: I40cb4dc4ce1fd3caa2464f92803124c3d2107afb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145433
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/gdi/salnativewidgets-luna.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/salnativewidgets-luna.cxx b/vcl/win/gdi/salnativewidgets-luna.cxx index b2c71bf51b78..1c177a1b2a97 100644 --- a/vcl/win/gdi/salnativewidgets-luna.cxx +++ b/vcl/win/gdi/salnativewidgets-luna.cxx @@ -400,7 +400,7 @@ bool UseDarkMode() { static bool bOSSupportsDarkMode = OSSupportsDarkMode(); if (!bOSSupportsDarkMode) - false; + return false; HINSTANCE hUxthemeLib = LoadLibraryExW(L"uxtheme.dll", nullptr, LOAD_LIBRARY_SEARCH_SYSTEM32); if (!hUxthemeLib) |