Commit 03967f29 authored by Denis Kuplyakov's avatar Denis Kuplyakov

Fixed bug in loading sections info in KoTextLoader

parent 6999f414
......@@ -832,7 +832,7 @@ void KoTextLoader::loadSection(const KoXmlElement &sectionElem, QTextCursor &cur
QTextBlockFormat format = block.blockFormat();
QVariant listv;
listv = format.property(KoParagraphStyle::SectionEndings);
QList<QVariant> sectionEndings = v.value<QList<QVariant> >();
QList<QVariant> sectionEndings = listv.value<QList<QVariant> >();
sectionEndings.append(v);
listv.setValue<QList<QVariant> >(sectionEndings);
format.setProperty(KoParagraphStyle::SectionEndings, listv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment