diff options
Diffstat (limited to 'sfx2/source/sidebar/DeckTitleBar.cxx')
-rw-r--r-- | sfx2/source/sidebar/DeckTitleBar.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx index 4c2e86840e7d..2d8fcd92b1c2 100644 --- a/sfx2/source/sidebar/DeckTitleBar.cxx +++ b/sfx2/source/sidebar/DeckTitleBar.cxx @@ -41,7 +41,7 @@ const sal_Int32 gaRightGripPadding (6); DeckTitleBar::DeckTitleBar (const OUString& rsTitle, vcl::Window* pParentWindow, const std::function<void()>& rCloserAction) - : TitleBar(rsTitle, pParentWindow, GetBackgroundPaint()) + : TitleBar(rsTitle, pParentWindow, GetBackgroundPaintColor()) , maCloserAction(rCloserAction) , mbIsCloserVisible(false) { @@ -100,9 +100,9 @@ void DeckTitleBar::PaintDecoration(vcl::RenderContext& rRenderContext) rRenderContext.DrawImage(aTopLeft, aImage); } -sidebar::Paint DeckTitleBar::GetBackgroundPaint() +Color DeckTitleBar::GetBackgroundPaintColor() { - return Theme::GetPaint(Theme::Paint_DeckTitleBarBackground); + return Theme::GetColor(Theme::Color_DeckTitleBarBackground); } void DeckTitleBar::HandleToolBoxItemClick (const sal_uInt16 nItemIndex) |