diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-23 21:12:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-24 11:23:42 +0200 |
commit | 738a50f1f4fc1e95a72912377c85fda0e9efc7dd (patch) | |
tree | 2f5ae8aef152acc0e9e86006e37435169480593e /sw | |
parent | add8a8188086a32bfc558f8086062b30b3939ab2 (diff) |
ofz#1466265 Logically dead code
since...
commit db10942f021026e67ab146da1b625e534f58cf34
Date: Wed Aug 19 20:38:24 2020 +0200
use fastparser in StoredChapterNumberingRootContext
Change-Id: I3f4bc4557c1b1f53b4bffac88fa634ef93c30a3f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101250
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/config/StoredChapterNumbering.cxx | 6 |
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); } |