[Libreoffice-commits] .: Branch 'distro/suse/suse-3.6' - oox/source

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


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

New commits:
commit 083b2c6dc32569930e1e5d35246e8f80701f8934
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 af0105c..45281af 100644
--- a/oox/source/drawingml/table/tablecell.cxx
+++ b/oox/source/drawingml/table/tablecell.cxx
@@ -83,6 +83,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