diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 14:40:58 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-09-19 14:52:27 +0200 |
commit | 3c2c2692b0cfe376e2d14f33796ec10e924342b9 (patch) | |
tree | 656810e77734c5d17f0a319282b531b28ec209c5 /writerfilter | |
parent | 909c82d8972d223abace208d3b768916be2e046a (diff) |
DOCX styles: Another fix in <w:next> style handling.
Compare styleId against styleId, not style name against styleId.
Change-Id: I42bbb8a04424780772065585cc8ff56d906a48e4
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index 30e1c8102615..9a419a66b1f8 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.cxx +++ b/writerfilter/source/dmapper/StyleSheetTable.cxx @@ -894,7 +894,7 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable ) std::vector< StyleSheetEntryPtr >::iterator it = m_pImpl->m_aStyleSheetEntries.begin(); for (; it != m_pImpl->m_aStyleSheetEntries.end(); ++it) { - if (!(*it)->sStyleName.isEmpty() && (*it)->sStyleName == pEntry->sNextStyleIdentifier) + if (!(*it)->sStyleName.isEmpty() && (*it)->sStyleIdentifierD == pEntry->sNextStyleIdentifier) { beans::PropertyValue aNew; aNew.Name = "FollowStyle"; |