diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-06 15:36:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-07 22:02:06 +0100 |
commit | ca04f207d750be041abcdb5344a6cbd308151492 (patch) | |
tree | b55ae317ad97312d3da1632037d8fab7436becb9 /sfx2 | |
parent | 7acf5fe037e50557c6ddbc8d9a797dc727ce4001 (diff) |
0xffffffff is COL_TRANSPARENT/COL_AUTO
Change-Id: I17d4a3d3a05913f4f0fc11508f2196b30661b88a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105415
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/sidebar/MenuButton.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/TabItem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/MenuButton.cxx b/sfx2/source/sidebar/MenuButton.cxx index 364f0b89d6af..fb8d914ded2a 100644 --- a/sfx2/source/sidebar/MenuButton.cxx +++ b/sfx2/source/sidebar/MenuButton.cxx @@ -47,7 +47,7 @@ void MenuButton::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangl 3, (bIsHighlighted || bIsSelected ? Theme::GetColor(Theme::Color_TabItemBorder) - : Color(0xffffffff)), + : COL_TRANSPARENT), (bIsHighlighted ? Theme::GetPaint(Theme::Paint_TabItemBackgroundHighlight) : Theme::GetPaint(Theme::Paint_TabItemBackgroundNormal))); diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx index dcf00532044f..cb4d217fdaf1 100644 --- a/sfx2/source/sidebar/TabItem.cxx +++ b/sfx2/source/sidebar/TabItem.cxx @@ -51,7 +51,7 @@ void TabItem::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& Theme::GetInteger(Theme::Int_ButtonCornerRadius), bIsHighlighted||bIsSelected ? Theme::GetColor(Theme::Color_TabItemBorder) - : Color(0xffffffff), + : COL_TRANSPARENT, bIsHighlighted ? Theme::GetPaint(Theme::Paint_TabItemBackgroundHighlight) : Theme::GetPaint(Theme::Paint_TabItemBackgroundNormal)); |