From 70ca6956b28e6c22888dfaca2964ce8b23c24afe Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Sun, 28 Jul 2024 12:52:06 +0200 Subject: [PATCH] odtfmt: fix compiler warnings [-Wreorder] --- crengine/src/odtfmt.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crengine/src/odtfmt.cpp b/crengine/src/odtfmt.cpp index d443d0137..f8e284a4c 100644 --- a/crengine/src/odtfmt.cpp +++ b/crengine/src/odtfmt.cpp @@ -374,10 +374,10 @@ class odt_documentHandler : public xml_ElementHandler, odx_styleTagsHandler xml_ElementHandler(reader, writer, odt_el_NULL, odt_elements), m_footNotesWriter(doc), m_endNotesWriter(doc), m_saveWriter(NULL), m_context(context), m_footNotes(NULL), m_endNotes(NULL), m_body(NULL), - m_isEndNote(false), m_titleHandler(titleHandler), - m_outlineLevel(0), m_inTable(false), m_inListItem(false), + m_isEndNote(false), m_paragraphStarted(false), m_stylesHandler(reader, NULL, odt_el_automaticStyles, context), - m_listItemHadContent(false), m_paragraphStarted(false) { + m_titleHandler(titleHandler), m_outlineLevel(0), m_inTable(false), + m_inListItem(false), m_listItemHadContent(false) { } inline bool isInList() { return m_ListLevels.length() != 0; } ldomNode *handleTagOpen(int tagId);