/trunk/Scribus/scribus/plugins/gettext/odt2im/importodt.cpp |
---|
634,9 → 634,6 |
void ODTIm::parseTextSpan(QDomElement &elem, PageItem* item, ParagraphStyle &tmpStyle, CharStyle &tmpCStyle, ObjStyleODT &tmpOStyle, int &posC) |
{ |
if (!elem.hasChildNodes()) |
return; |
ObjStyleODT odtStyle = tmpOStyle; |
CharStyle cStyle = tmpCStyle; |
648,6 → 645,8 |
} |
applyCharacterStyle(cStyle, odtStyle); |
if (!elem.hasChildNodes()) |
return; |
for (QDomNode spn = elem.firstChild(); !spn.isNull(); spn = spn.nextSibling()) |
{ |