summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/text/txtlists.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx
index cdbb3c59ea87..bba2e717be45 100644
--- a/xmloff/source/text/txtlists.cxx
+++ b/xmloff/source/text/txtlists.cxx
@@ -379,7 +379,7 @@ XMLTextListsHelper::EnsureNumberedParagraph(
OSL_ENSURE(io_rLevel >= 0, "invalid Level");
NumParaList_t & rNPList( mNPLists[i_ListId] );
const OUString none; // default
- if ( rNPList.empty() && (0 != io_rLevel)) {
+ if ( rNPList.empty() ) {
// create default list style for top level
sal_Int16 lev(0);
rNPList.push_back(::std::make_pair(none,