diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-06 14:16:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-08 21:49:19 +0100 |
commit | afa52f6907f6baa408a51dccee650faebb5d2d6b (patch) | |
tree | 8e6c68ce463068b7da16a42e331c83768b61bc47 /include/sfx2 | |
parent | 10e0a94416094e9c73b4152989481b89afd8b141 (diff) |
only colors are in use so reduce down to just those
Change-Id: I757a0f2e7baa981ecb3cad7e0f975e3ae9c509b0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105414
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/sidebar/Theme.hxx | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx index ebe5ec8b496a..38ba8d1e7078 100644 --- a/include/sfx2/sidebar/Theme.hxx +++ b/include/sfx2/sidebar/Theme.hxx @@ -41,8 +41,6 @@ typedef cppu::WeakComponentImplHelper < css::beans::XPropertySetInfo > ThemeInterfaceBase; -class Paint; - /** Simple collection of colors, gradients, fonts that define the look of the sidebar and its controls. */ @@ -75,21 +73,18 @@ public: Color_DropDownBorder, Color_Highlight, Color_HighlightText, - - Color_Paint_, - - Paint_DeckBackground, - Paint_DeckTitleBarBackground, - Paint_PanelBackground, - Paint_PanelTitleBarBackground, - Paint_TabBarBackground, - Paint_TabItemBackgroundNormal, - Paint_TabItemBackgroundHighlight, - Paint_HorizontalBorder, - Paint_VerticalBorder, - Paint_DropDownBackground, - - Paint_Int_, + Color_DeckBackground, + Color_DeckTitleBarBackground, + Color_PanelBackground, + Color_PanelTitleBarBackground, + Color_TabBarBackground, + Color_TabItemBackgroundNormal, + Color_TabItemBackgroundHighlight, + Color_HorizontalBorder, + Color_VerticalBorder, + Color_DropDownBackground, + + Color_Int_, Int_DeckTitleBarHeight, Int_DeckBorderSize, @@ -120,8 +115,6 @@ public: static Image GetImage (const ThemeItem eItem); static Color GetColor (const ThemeItem eItem); - static const Paint& GetPaint (const ThemeItem eItem); - static Wallpaper GetWallpaper (const ThemeItem eItem); static sal_Int32 GetInteger (const ThemeItem eItem); static bool GetBoolean (const ThemeItem eItem); @@ -170,7 +163,6 @@ private: std::vector<Image> maImages; std::vector<Color> maColors; - std::vector<Paint> maPaints; std::vector<sal_Int32> maIntegers; std::vector<bool> maBooleans; bool mbIsHighContrastMode; @@ -194,7 +186,6 @@ private: { PT_Image, PT_Color, - PT_Paint, PT_Integer, PT_Boolean, PT_Invalid |