[Libreoffice-commits] core.git: Branch 'feature/calc-cell-borders' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Mon Jan 13 16:48:29 PST 2014


 sc/source/filter/excel/xistyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4777af92156f48124b1a9b7ead6a238d9b610472
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Mon Jan 13 19:47:14 2014 -0500

    Excel's hair line is not "fine dashed". It's a solid line.
    
    Excel may display this line as fine dots on screen, but on paper this is
    a ultra thin solid line.  We need to go by what gets printed on paper.
    
    Change-Id: I6640706ff8a16ad26330f8f609a429fb7f14faad

diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index db38fb6..54dade2 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -904,7 +904,7 @@ bool lclConvertBorderLine( ::editeng::SvxBorderLine& rLine, const XclImpPalette&
         {   EXC_BORDER_THIN,    table::BorderLineStyle::DOTTED }, // 4 = dotted
         {   EXC_BORDER_THICK,   table::BorderLineStyle::SOLID },  // 5 = thick
         {   EXC_BORDER_THIN,    table::BorderLineStyle::DOUBLE }, // 6 = double
-        {   EXC_BORDER_HAIR,    table::BorderLineStyle::FINE_DASHED },  // 7 = hair
+        {   EXC_BORDER_HAIR,    table::BorderLineStyle::SOLID },  // 7 = hair
         {   EXC_BORDER_MEDIUM,  table::BorderLineStyle::DASHED }, // 8 = med dash
         {   EXC_BORDER_THIN,    table::BorderLineStyle::SOLID },  // 9 = thin dashdot
         {   EXC_BORDER_MEDIUM,  table::BorderLineStyle::SOLID },  // A = med dashdot


More information about the Libreoffice-commits mailing list