[Libreoffice-commits] .: Branch 'libreoffice-4-0' - oox/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 22 02:13:25 PST 2013
oox/source/drawingml/table/tablecell.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 08facbdcf4266f7308073b63ae92a5e15c792eb2
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
Signed-off-by: Andras Timar <atimar at suse.com>
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx
index c89a4f9..4bfd76d 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;
}
More information about the Libreoffice-commits
mailing list