summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/drawingml/shape.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx
index 1406567184f3..a6e61a7ddeae 100644
--- a/oox/source/drawingml/shape.cxx
+++ b/oox/source/drawingml/shape.cxx
@@ -639,6 +639,8 @@ Reference< XShape > Shape::createAndInsert(
{
css::table::BorderLine2 aBorderLine = xPropertySet->getPropertyValue(PropertyMap::getPropertyName(aBorders[i])).get<css::table::BorderLine2>();
aBorderLine.Color = aShapeProps[PROP_LineColor].get<sal_Int32>();
+ if (aLineProperties.moLineWidth.has())
+ aBorderLine.LineWidth = convertEmuToHmm(aLineProperties.moLineWidth.get());
aShapeProps.setProperty(aBorders[i], uno::makeAny(aBorderLine));
}
aShapeProps.erase(PROP_LineColor);