summaryrefslogtreecommitdiff
path: root/vcl/source/window/splitwin.cxx
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2020-09-23 08:38:34 +0200
committerAndreas Kainz <kainz.a@gmail.com>2020-09-23 13:44:17 +0200
commit97f15f742548010694b75094e40868b66c1ef089 (patch)
tree51735b4a88d1f7c957787bd9a3caf4ffa3ff075c /vcl/source/window/splitwin.cxx
parent7ccd8928acbb5a27d9b9f44b09b7575757981e8a (diff)
tdf#102967 Hide surrounding border frame at left panels
Change-Id: I155f20ee8f5c73bbb09bdd82b4a9da81967912e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103227 Tested-by: Jenkins Reviewed-by: Andreas Kainz <kainz.a@gmail.com>
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r--vcl/source/window/splitwin.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index a099ed4b9a03..3d36a9a26ae7 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -181,29 +181,10 @@ void SplitWindow::ImplDrawBorder(vcl::RenderContext& rRenderContext)
switch (meAlign)
{
case WindowAlign::Bottom:
- rRenderContext.SetLineColor(rStyleSettings.GetLightColor());
- rRenderContext.DrawLine(Point(0, 1), Point(nDX - 1, 1));
- rRenderContext.DrawLine(Point(0, nDY - 1), Point(nDX - 1, nDY - 1));
break;
case WindowAlign::Top:
- rRenderContext.SetLineColor(rStyleSettings.GetShadowColor());
- rRenderContext.DrawLine(Point(0, nDY - 2), Point(nDX - 1, nDY - 2));
- rRenderContext.DrawLine(Point(0, 0), Point(nDX - 1, 0));
-
- rRenderContext.SetLineColor(rStyleSettings.GetLightColor());
- rRenderContext.DrawLine(Point(0, nDY - 1), Point(nDX - 1, nDY - 1));
- rRenderContext.DrawLine(Point(0, 1), Point(nDX - 1, 1));
break;
case WindowAlign::Left:
- rRenderContext.SetLineColor(rStyleSettings.GetShadowColor());
- rRenderContext.DrawLine(Point(nDX - 2, 0), Point(nDX - 2, nDY - 2));
- rRenderContext.DrawLine(Point(0, 0), Point(nDX - 1, 0));
- rRenderContext.DrawLine(Point(0, nDY - 2), Point(nDX - 2, nDY - 2));
-
- rRenderContext.SetLineColor(rStyleSettings.GetLightColor());
- rRenderContext.DrawLine(Point(nDX - 1, 0), Point(nDX - 1, nDY - 1));
- rRenderContext.DrawLine(Point(0, 1), Point(nDX - 3, 1));
- rRenderContext.DrawLine(Point(0, nDY - 1), Point(nDX - 2, nDY - 1));
break;
default:
rRenderContext.SetLineColor(rStyleSettings.GetShadowColor());