summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2013-01-16 20:37:50 +0100
committerAndras Timar <atimar@suse.com>2013-01-22 11:12:44 +0100
commit08facbdcf4266f7308073b63ae92a5e15c792eb2 (patch)
tree264fd14e30a7df90ca7d169007c1807deff8d7aa
parent4f4e963da72aeffae9a88676abb438c65c122bf2 (diff)
fix cell border line properties n#793408
Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed Signed-off-by: Andras Timar <atimar@suse.com>
-rw-r--r--oox/source/drawingml/table/tablecell.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}