summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabsplit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabsplit.cxx')
-rw-r--r--sc/source/ui/view/tabsplit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabsplit.cxx b/sc/source/ui/view/tabsplit.cxx
index 8f0bd7a0e5af..e2ed5f86c265 100644
--- a/sc/source/ui/view/tabsplit.cxx
+++ b/sc/source/ui/view/tabsplit.cxx
@@ -106,7 +106,7 @@ void ScTabSplitter::Paint( vcl::RenderContext& rRenderContext, const tools::Rect
const tools::Long w4 = rRect.GetWidth() / 4;
// First yc fraction is truncated, second one is rounded. This will draw a centered line
// in handlers with odd height and a centered rectangle in those with even height.
- DrawRect(tools::Rectangle(Point(rRect.Left() + w4, yc / 2),
+ GetOutDev()->DrawRect(tools::Rectangle(Point(rRect.Left() + w4, yc / 2),
Point(rRect.Right() - w4, (yc + 1) / 2)));
break;
}