summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/TabItem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/TabItem.cxx')
-rw-r--r--sfx2/source/sidebar/TabItem.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx
index 13bc9914ef12..3e0e5f635f86 100644
--- a/sfx2/source/sidebar/TabItem.cxx
+++ b/sfx2/source/sidebar/TabItem.cxx
@@ -41,13 +41,13 @@ TabItem::TabItem (vcl::Window* pParentWindow)
#endif
}
-void TabItem::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*UpdateArea*/)
+void TabItem::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& /*UpdateArea*/)
{
const bool bIsSelected (IsChecked());
const bool bIsHighlighted (IsMouseOver() || HasFocus());
DrawHelper::DrawRoundedRectangle(
rRenderContext,
- Rectangle(Point(0,0), GetSizePixel()),
+ tools::Rectangle(Point(0,0), GetSizePixel()),
Theme::GetInteger(Theme::Int_ButtonCornerRadius),
bIsHighlighted||bIsSelected
? Theme::GetColor(Theme::Color_TabItemBorder)