vcl/win/window/salframe.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit b8a3d1b7577adce9e4844f6f8915820b98b6d2d8
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Feb 10 08:17:23 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Feb 10 08:18:06 2023 +0000

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

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();

Reply via email to