summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-22 11:37:33 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-22 11:40:20 -0500
commitd17c9ee705f9885f61f84dc2d244c4d0c0c39928 (patch)
tree6bf44b7a70e89ff51a3faad83de97e0ac59c21bf /drawinglayer
parent945394d8679e1f8c61d4cdab53420192a53472a6 (diff)
fdo#73886: Let's keep the "left" border outer and "right" inner.
This reduces the complexity a bit. Change-Id: Ieefb57be86e5b66f319920fa61c88d0027c38164
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index 891d71f3dfdf..5e055fa266b7 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -302,8 +302,6 @@ namespace drawinglayer
const basegfx::BColor aLineColor =
maBColorModifierStack.getModifiedColor(rSource.getRGBColorLeft());
double nThick = rtl::math::round(rSource.getLeftWidth());
- if (!nThick)
- nThick = rtl::math::round(rSource.getRightWidth());
bool bDouble = rSource.getStyle() == table::BorderLineStyle::DOUBLE;
@@ -414,8 +412,6 @@ namespace drawinglayer
return false;
double nThick = rtl::math::round(rSource.getLeftWidth());
- if (!nThick)
- nThick = rtl::math::round(rSource.getRightWidth());
const basegfx::BColor aLineColor =
maBColorModifierStack.getModifiedColor(rSource.getRGBColorLeft());