summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-02-10 08:17:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2023-02-10 08:18:06 +0000
commitb8a3d1b7577adce9e4844f6f8915820b98b6d2d8 (patch)
tree0b568eadf9e06951c9c3dc88e4364110e2182f06 /vcl/win
parent0fcc2f933e588f5a9fa19f3decf91874d935ecfa (diff)
loplugin:external
Change-Id: Idde40e44254a6c545185470a1db36ab684504bec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146737 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/window/salframe.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 847156f5b2df..b12fdfffbabe 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -261,6 +261,8 @@ void ImplSalGetWorkArea( HWND hWnd, RECT *pRect, const RECT *pParentRect )
}
}
+namespace {
+
enum PreferredAppMode
{
AllowDark = 1,
@@ -268,6 +270,8 @@ enum PreferredAppMode
ForceLight = 3
};
+}
+
static void UpdateDarkMode(HWND hWnd)
{
static bool bOSSupportsDarkMode = OSSupportsDarkMode();