[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Wed Aug 27 01:20:30 PDT 2014
sw/source/filter/ww8/ww8par.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit d6078b0843186542398905b97c78f29d974a5d30
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Aug 27 09:19:30 2014 +0100
OutlineStyles can only be Paragraph Styles
Change-Id: Ia4089023ff1b9a18ed44f599dc7382fc3dcbbd36
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 26b867d..3395868 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5846,6 +5846,9 @@ void SwWW8ImplReader::SetOutlineStyles()
{
SwWW8StyInf* pStyleInf = (*aStyleIter);
+ if (!pStyleInf->bColl) //Character Style
+ continue;
+
const sal_uInt16 nOutlineStyleListLevelOfWW8BuiltInHeadingStyle
= 1 << pStyleInf->mnWW8OutlineLevel;
if (nOutlineStyleListLevelOfWW8BuiltInHeadingStyle
More information about the Libreoffice-commits
mailing list