diff options
author | obo <obo@openoffice.org> | 2010-04-21 15:14:40 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-04-21 15:14:40 +0200 |
commit | 25a21b8882856341e4c6220c0a54beff60c17844 (patch) | |
tree | edccf282a50b1074273c545fc5e756513db0a5a8 /xmloff | |
parent | 1b62413a5957e38112087f1030bebd6c5057e743 (diff) | |
parent | 80399d376fea1ab81d68bf29c7098cbf057dc10f (diff) |
CWS-TOOLING: integrate CWS c07v027
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/XMLTextNumRuleInfo.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLTextNumRuleInfo.cxx b/xmloff/source/text/XMLTextNumRuleInfo.cxx index 5d37764d57..482d94d058 100644 --- a/xmloff/source/text/XMLTextNumRuleInfo.cxx +++ b/xmloff/source/text/XMLTextNumRuleInfo.cxx @@ -120,6 +120,15 @@ void XMLTextNumRuleInfo::Set( } // <-- + // --> OD 2010-01-13 #b6912256# + if ( mnListLevel < 0 ) + { + DBG_ASSERT( false, + "<XMLTextNumRuleInfo::Set(..)> - unexpected numbering level" ); + Reset(); + return; + } + // --> OD 2006-09-27 #i69627# bool bSuppressListStyle( false ); if ( mxNumRules.is() ) |