diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index bbfd7843502a..6f3b3ca507e5 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -2695,6 +2695,10 @@ void WinSalFrame::UpdateSettings( AllSettings& rSettings ) aMenuBarTextColor = ImplWinColorToSal( color ); aMenuBarRolloverTextColor = ImplWinColorToSal( color ); CloseThemeData(hTheme); + + // tdf#148448 pick a warning color more likely to be readable as a + // background in a dark theme + aStyleSettings.SetWarningColor(Color(0xf5, 0x79, 0x00)); } else {