From 08facbdcf4266f7308073b63ae92a5e15c792eb2 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Wed, 16 Jan 2013 20:37:50 +0100 Subject: fix cell border line properties n#793408 Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed Signed-off-by: Andras Timar --- oox/source/drawingml/table/tablecell.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx index c89a4f9f64a7..4bfd76d8f3b2 100644 --- a/oox/source/drawingml/table/tablecell.cxx +++ b/oox/source/drawingml/table/tablecell.cxx @@ -74,6 +74,7 @@ void applyLineAttributes( const ::oox::core::XmlFilterBase& rFilterBase, aBorderLine.Color = aColor.getColor( rFilterBase.getGraphicHelper() ); aBorderLine.OuterLineWidth = static_cast< sal_Int16 >( GetCoordinate( rLineProperties.moLineWidth.get( 0 ) ) / 4 ); aBorderLine.InnerLineWidth = static_cast< sal_Int16 >( GetCoordinate( rLineProperties.moLineWidth.get( 0 ) ) / 4 ); + aBorderLine.LineWidth = static_cast< sal_Int16 >( GetCoordinate( rLineProperties.moLineWidth.get( 0 ) ) / 2 ); aBorderLine.LineDistance = 0; } -- cgit v1.2.3