Kaydet (Commit) d19de47c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#73886: Check the right width in case the left width is zero.

Change-Id: I6a0b1dd7382f1d3c7266ba56dbfdc557737380c2
üst 81286443
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment