summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef <stef@ws.local>2004-07-13 02:57:18 +0000
committerStef <stef@ws.local>2004-07-13 02:57:18 +0000
commit7e8ded509cd368d794db30777ecbf376ab4c535e (patch)
tree968fe3bcba58ee8adc365e408fb9d2178b3e3d6e /src
parent868bfee512331e44b90a2cf42d4b734f79ed4622 (diff)
- Order of start consolidate tags
- Runs remove duplicates once more at the end
Diffstat (limited to 'src')
-rw-r--r--src/xmlcomposer.cpp1
-rw-r--r--src/xmlfixups.cpp2
2 files changed, 2 insertions, 1 deletions
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)