drawinglayer/source/processor2d/vclpixelprocessor2d.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit d19de47c2da0867ded7e9045f06957aa4a1f277e Author: Kohei Yoshida <[email protected]> Date: Wed Jan 22 09:01:04 2014 -0500 fdo#73886: Check the right width in case the left width is zero. Change-Id: I6a0b1dd7382f1d3c7266ba56dbfdc557737380c2 diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx index fc9a19c..891d71f 100644 --- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx @@ -302,6 +302,8 @@ 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; @@ -412,6 +414,9 @@ 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()); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
