diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 169d640cc0e5..a4c8a508204f 100644 --- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx +++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx @@ -46,6 +46,7 @@ #include #include #include +#include #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) @@ -2484,6 +2485,14 @@ void RTFDocumentImpl::resolveShapeProperties(std::vector< std::pairsetPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("RotateAngle")), aAny); } } + else if (i->first.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("fLine"))) + { + if (i->second.toInt32() == 0) + { + aAny <<= drawing::LineStyle_NONE; + xPropertySet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("LineStyle")), aAny); + } + } else OSL_TRACE("%s: TODO handle shape property '%s':'%s'", OSL_THIS_FUNC, OUStringToOString( i->first, RTL_TEXTENCODING_UTF8 ).getStr(),