don't assert on export of novell363086-2.docx to doc

Change-Id: I40a78a9891753e0e3e1bc67a7e40f15ff756e833
This commit is contained in:
Caolán McNamara
2015-04-13 13:09:03 +01:00
parent e80c86301b
commit b3f42066e7

View File

@@ -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;