diff options
Diffstat (limited to 'sw/source/filter/ww8/rtfexport.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index dd9ec5e85df5..e39b18e01266 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -186,14 +186,16 @@ static bool IsExportNumRule(const SwNumRule& rRule, sal_uInt8* pEnd = 0) ; ++nEnd; - const SwNumFmt* pNFmt; sal_uInt8 nLvl; for (nLvl = 0; nLvl < nEnd; ++nLvl) - if (SVX_NUM_NUMBER_NONE != (pNFmt = &rRule.Get(nLvl)) - ->GetNumberingType() || !pNFmt->GetPrefix().isEmpty() || + { + const SwNumFmt* pNFmt = &rRule.Get(nLvl); + if (SVX_NUM_NUMBER_NONE != pNFmt->GetNumberingType() || + !pNFmt->GetPrefix().isEmpty() || (!pNFmt->GetSuffix().isEmpty() && pNFmt->GetSuffix() != ".")) break; + } if (pEnd) *pEnd = nEnd; |