[Libreoffice-commits] .: oox/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 16 11:40:38 PST 2013


 oox/source/drawingml/table/tablecell.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fd447c820f3f42cb16f5af28572fe7a9047b6481
Author: Radek Doulik <rodo at novell.com>
Date:   Wed Jan 16 20:37:50 2013 +0100

    fix cell border line properties n#793408
    
    Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed

diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index 7efc01c..3bca437 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -72,6 +72,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;
     }
 


More information about the Libreoffice-commits mailing list