diff options
author | Oliver Düsterhoff <od@openoffice.org> | 2009-11-13 09:32:21 +0000 |
---|---|---|
committer | Oliver Düsterhoff <od@openoffice.org> | 2009-11-13 09:32:21 +0000 |
commit | 8b08851a29d4bdb971c05c221cbfcc7641be1bca (patch) | |
tree | d6c1911eff6e0e70f89b670d5eb8e77bb501fcbc | |
parent | 3d96348ce1e94c77af42cae1f143c6149e59edb3 (diff) |
#i106218# method <HasOutlineStyleToBeWrittenAsNormalListStyle(..)>
- consider that the outline style itself is set at the parent paragraph style of
one of the to the outline style assigned paragraph styles.
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index af3b5ddedf37..cb6d637933f5 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -2669,18 +2669,18 @@ namespace docfunc if ( !pParentTxtFmtColl ) continue; - // --> OD 2007-12-07 #i77708# - // consider that explicitly no list style is set - empty string - // at numrule item. -// const SwNumRuleItem& rDirectItem = pParentTxtFmtColl->GetNumRule(); -// if ( rDirectItem.GetValue().Len() != 0 ) if ( SFX_ITEM_SET == pParentTxtFmtColl->GetItemState( RES_PARATR_NUMRULE ) ) { - bRet = true; - break; + // --> OD 2009-11-12 #i106218# + // consider that the outline style is set + const SwNumRuleItem& rDirectItem = pParentTxtFmtColl->GetNumRule(); + if ( rDirectItem.GetValue() != rDoc.GetOutlineNumRule()->GetName() ) + { + bRet = true; + break; + } + // <-- } - // <-- - } } |