summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2013-09-19 14:02:04 +0200
committerJan Holesovsky <kendy@collabora.com>2013-09-19 14:52:27 +0200
commit20d87b81dc7f80c8b5f31c6b6f1841937d362d35 (patch)
tree20d7919f3054c2d2b78bb1d7781d2a4c62438e4e /writerfilter
parent7be74f1bc55ee8d41d91738ec4ab89b6cfd4f875 (diff)
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.cxx4
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