diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 14:02:04 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 14:52:27 +0200 |
commit | 20d87b81dc7f80c8b5f31c6b6f1841937d362d35 (patch) | |
tree | 20d7919f3054c2d2b78bb1d7781d2a4c62438e4e /writerfilter | |
parent | OUString::copy second arg is len, not index (diff) | |
download | core-20d87b81dc7f80c8b5f31c6b6f1841937d362d35.tar.gz core-20d87b81dc7f80c8b5f31c6b6f1841937d362d35.zip |
DOCX styles: Fix the reading of <w:next> style.
Wow, has been broken like this since 2007...
Change-Id: I32a84e1444ed6fd89161f2060a35296044516863
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index 7b385d8f8a38..19eba6190277 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.cxx +++ b/writerfilter/source/dmapper/StyleSheetTable.cxx @@ -796,9 +796,9 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable ) uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues(); 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 |