[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source

Eike Rathke erack at kemper.freedesktop.org
Tue Feb 7 13:57:40 PST 2012


 sw/source/core/unocore/unotbl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e078868c290014ddc5eac4a982349ac75557739e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Feb 3 18:49:56 2012 +0100

    fdo#45115: SwXTextTable: fix setting borders
    
    This plus e549f52f16c4a519ed3eddb9c66c19bacc247590 fixes the problem.
    
    Signed-off-by: Eike Rathke <erack at redhat.com>

diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 898adef..77cf0af 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -138,7 +138,7 @@ sal_Bool lcl_LineToSvxLine(const table::BorderLine& rLine, SvxBorderLine& rSvxLi
 {
     rSvxLine.SetColor(Color(rLine.Color));
 
-    rSvxLine.GuessLinesWidths( editeng::SvxBorderStyle(table::BorderLineStyle::SOLID),
+    rSvxLine.GuessLinesWidths( editeng::NO_STYLE,
                                 MM100_TO_TWIP( rLine.OuterLineWidth ),
                                 MM100_TO_TWIP( rLine.InnerLineWidth ),
                                 MM100_TO_TWIP( rLine.LineDistance ) );


More information about the Libreoffice-commits mailing list