diff options
author | Sahil Gautam <sahil.gautam.extern@allotropia.de> | 2025-01-07 10:48:38 +0530 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2025-01-07 09:19:13 +0100 |
commit | 7970a121a83653474e696550f91c5e7b963674e8 (patch) | |
tree | 7cbe1d65503c2339364ad151ec029f7ee6c1d4df | |
parent | c8aca254f9dc01d7523cc08b41f8d1b4b5b9cb36 (diff) |
tdf#164393 Format the code to make clang-format happy
Change-Id: I1a07935757752c64e86e779a6f3b3c925774c6d8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179852
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | svtools/source/config/colorcfg.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx index 544e544cf398..8dfdd757b151 100644 --- a/svtools/source/config/colorcfg.cxx +++ b/svtools/source/config/colorcfg.cxx @@ -446,7 +446,8 @@ void ColorConfig::LoadThemeColorsFromRegistry() rThemeColors.SetMenuBarColor(GetColorValue(svtools::MENUBARCOLOR).nColor); rThemeColors.SetMenuBarTextColor(GetColorValue(svtools::MENUBARTEXTCOLOR).nColor); rThemeColors.SetMenuBarHighlightColor(GetColorValue(svtools::MENUBARHIGHLIGHTCOLOR).nColor); - rThemeColors.SetMenuBarHighlightTextColor(GetColorValue(svtools::MENUBARHIGHLIGHTTEXTCOLOR).nColor); + rThemeColors.SetMenuBarHighlightTextColor( + GetColorValue(svtools::MENUBARHIGHLIGHTTEXTCOLOR).nColor); rThemeColors.SetMenuColor(GetColorValue(svtools::MENUCOLOR).nColor); rThemeColors.SetMenuTextColor(GetColorValue(svtools::MENUTEXTCOLOR).nColor); rThemeColors.SetMenuHighlightColor(GetColorValue(svtools::MENUHIGHLIGHTCOLOR).nColor); @@ -459,9 +460,12 @@ void ColorConfig::LoadThemeColorsFromRegistry() // as more controls support it, we might want to have ColorConfigValue entries in ThemeColors // instead of just colors. for now that seems overkill for just one control. - rThemeColors.SetAppBackBitmapFileName(m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).sBitmapFileName); - rThemeColors.SetAppBackUseBitmap(m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).bUseBitmapBackground); - rThemeColors.SetAppBackBitmapStretched(m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).bIsBitmapStretched); + rThemeColors.SetAppBackBitmapFileName( + m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).sBitmapFileName); + rThemeColors.SetAppBackUseBitmap( + m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).bUseBitmapBackground); + rThemeColors.SetAppBackBitmapStretched( + m_pImpl->GetColorConfigValue(svtools::APPBACKGROUND).bIsBitmapStretched); ThemeColors::SetThemeLoaded(true); } |