From d5936861524a2ab8912e70910ab1934a24b39fe8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 13 Jul 2004 02:57:18 +0000 Subject: - Order of start consolidate tags - Runs remove duplicates once more at the end --- src/xmlcomposer.cpp | 1 + src/xmlfixups.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xmlcomposer.cpp b/src/xmlcomposer.cpp index c2b0b10..7e74f70 100644 --- a/src/xmlcomposer.cpp +++ b/src/xmlcomposer.cpp @@ -118,6 +118,7 @@ void RtfParser::endDocument() RtfFixups::removeTags(m_document); RtfFixups::breakBreak(m_document, kElDoc, kElPage); RtfFixups::breakBreak(m_document, kElDoc, kElSect); + RtfFixups::removeDuplicates(m_document); return; } diff --git a/src/xmlfixups.cpp b/src/xmlfixups.cpp index fe2232b..c3fd8b6 100644 --- a/src/xmlfixups.cpp +++ b/src/xmlfixups.cpp @@ -57,7 +57,7 @@ static const char* kConsolidateEnd[] = { kElFootNote, NULL }; static const char* kConsolidateStart[] = - { kElInfo, kElStylesheet, NULL }; + { kElStylesheet, kElInfo, NULL }; void RtfFixups::breakBreak(DOM::Document& doc, const string& contain, const string& tag) -- cgit v1.2.3