[Libreoffice-commits] core.git: vcl/source
andreas kainz (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 23 11:44:52 UTC 2020
vcl/source/window/splitwin.cxx | 19 -------------------
1 file changed, 19 deletions(-)
New commits:
commit 97f15f742548010694b75094e40868b66c1ef089
Author: andreas kainz <kainz.a at gmail.com>
AuthorDate: Wed Sep 23 08:38:34 2020 +0200
Commit: Andreas Kainz <kainz.a at gmail.com>
CommitDate: Wed Sep 23 13:44:17 2020 +0200
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 at gmail.com>
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());
More information about the Libreoffice-commits
mailing list