Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c5d2e505 authored by Sebastian Sauer's avatar Sebastian Sauer

fix crash on loading the OpenDocument-v1.2-draft3.odt

svn path=/trunk/koffice/; revision=689710
parent b7b496d9
......@@ -605,7 +605,8 @@ void KoTextLoader::loadList(KoTextLoadingContext& context, const KoXmlElement& p
props.setLevel(0);
listStyle->setLevel(props);
}
listStyle->applyStyle(current, level);
if( prev != current )
listStyle->applyStyle(current, level);
}
// set the list level back to the previous value
......
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