summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-04-21 15:14:40 +0200
committerobo <obo@openoffice.org>2010-04-21 15:14:40 +0200
commit25a21b8882856341e4c6220c0a54beff60c17844 (patch)
treeedccf282a50b1074273c545fc5e756513db0a5a8 /xmloff
parent1b62413a5957e38112087f1030bebd6c5057e743 (diff)
parent80399d376fea1ab81d68bf29c7098cbf057dc10f (diff)
CWS-TOOLING: integrate CWS c07v027
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextNumRuleInfo.cxx9
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() )