summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-12-20 11:14:29 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-12-20 11:21:59 +0100
commit2b6c7519f69b43636028de8c15b1981e0328361f (patch)
treeaa8cb8635e5d2e78e8ef187382378442ca6069cc /oox
parentcffabc3d8e73ce957cfc1b8015398564aba6e63f (diff)
oox: import textframe border line width from drawingml
With this, CppunitTest_sw_ooxmlexport's testTextFrameBorders finally pases, even in experimental mode. Change-Id: I393bf1089702004956124c6aaad594ed32804b71
Diffstat (limited to 'oox')
-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);