summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/config/StoredChapterNumbering.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/uibase/config/StoredChapterNumbering.cxx b/sw/source/uibase/config/StoredChapterNumbering.cxx
index 8a21b9f3ff2e..732c38f82b86 100644
--- a/sw/source/uibase/config/StoredChapterNumbering.cxx
+++ b/sw/source/uibase/config/StoredChapterNumbering.cxx
@@ -341,11 +341,7 @@ public:
sal_Int32 Element,
const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) override
{
- if (Element == XML_ELEMENT(TEXT, XML_OUTLINE_STYLE))
- {
- // handled in CreateChildContext
- }
- else if (Element == XML_ELEMENT(STYLE, XML_STYLE))
+ if (Element == XML_ELEMENT(STYLE, XML_STYLE))
{
return new StoredChapterNumberingDummyStyleContext(GetImport(), xAttrList);
}