[Libreoffice-commits] core.git: editeng/source

Caolán McNamara caolanm at redhat.com
Mon Apr 13 07:10:59 PDT 2015


 editeng/source/items/borderline.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b3f42066e705c0bb313a4e36f0fb617fc1818c0d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Apr 13 13:09:03 2015 +0100

    don't assert on export of novell363086-2.docx to doc
    
    Change-Id: I40a78a9891753e0e3e1bc67a7e40f15ff756e833

diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index c921c05..1e768da 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -285,6 +285,9 @@ ConvertBorderWidthToWord(SvxBorderStyle const eStyle, double const fWidth)
         case INSET:
             return (fWidth - INSET_line2) / 2.0;
 
+        case css::table::BorderLineStyle::NONE:
+            return 0;
+
         default:
             assert(false); // should only be called for known border style
             return 0;


More information about the Libreoffice-commits mailing list