diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-15 16:29:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-15 17:03:21 +0200 |
commit | 1f6435d986fff97095c5619a908ea67906405e3c (patch) | |
tree | e5dda70ab609ee2e2823298cd736793b4a6383ab /sw/source/filter | |
parent | 8ab1c6103d5cbc414531c78c3cbaa93bfd99149f (diff) |
WW8 import: fix handling of sprmPIlfo when sprmPIlvl is missing
Commit 542a0d7260e4767d8aff839eb593e748a82ced48 (#100044# Cleanup for
optimization defines->enums, 2002-08-14) added the problematic "else"
without mentioning the reason, so I assume it's safe to just revert that
part.
Change-Id: Id90fbdfb1116be458a76c9653fec0633edc34fac
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 80195fad85e7..2888fa342aaf 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -2065,7 +2065,7 @@ void SwWW8ImplReader::Read_LFOPosition(sal_uInt16, const sal_uInt8* pData, { if (WW8ListManager::nMaxLevel == nListLevel) nListLevel = 0; - else if (WW8ListManager::nMaxLevel > nListLevel) + if (WW8ListManager::nMaxLevel > nListLevel) { RegisterNumFmt(nLFOPosition, nListLevel); nLFOPosition = USHRT_MAX; |