[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 24 09:24:22 UTC 2020
sw/source/uibase/config/StoredChapterNumbering.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 738a50f1f4fc1e95a72912377c85fda0e9efc7dd
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Aug 23 21:12:21 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 24 11:23:42 2020 +0200
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 at redhat.com>
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);
}
More information about the Libreoffice-commits
mailing list