Kaydet (Commit) 20d87b81 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

DOCX styles: Fix the reading of <w:next> style.

Wow, has been broken like this since 2007...

Change-Id: I32a84e1444ed6fd89161f2060a35296044516863
üst 7be74f1b
...@@ -796,9 +796,9 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable ) ...@@ -796,9 +796,9 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable )
uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues(); uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues();
bool bAddFollowStyle = false; bool bAddFollowStyle = false;
if(bParaStyle && pEntry->sNextStyleIdentifier.isEmpty() ) if(bParaStyle && !pEntry->sNextStyleIdentifier.isEmpty() )
{ {
bAddFollowStyle = true; bAddFollowStyle = true;
} }
// remove Left/RightMargin values from TOX heading styles // remove Left/RightMargin values from TOX heading styles
......
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