diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-11 21:33:06 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-11 21:33:06 +0000 |
commit | 6469807b6ca403cb585616fe3b9c0607ba391529 (patch) | |
tree | 7e55e57e28e39c0f2f43d0523cded967053f3f2d /src/xmlcomposer.cpp | |
parent | 6e217760d3d737a4d291f21764a227b3abea8060 (diff) |
Some level fixes
Diffstat (limited to 'src/xmlcomposer.cpp')
-rw-r--r-- | src/xmlcomposer.cpp | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/xmlcomposer.cpp b/src/xmlcomposer.cpp index 11ed2a0..4091adb 100644 --- a/src/xmlcomposer.cpp +++ b/src/xmlcomposer.cpp @@ -280,22 +280,11 @@ void RtfParser::groupEnd() ASSERT(m_curLevel != NULL); bool done = true; - // First see if this level has an ananlyser - AnalyserPtr analyser = m_curLevel->getAnalyser(false); - if(!analyser) - { - // If not then the analyser is going to live and we - // get one from a previous level - done = false; - analyser = m_curLevel->getAnalyser(); - } + LevelHandler::groupEnd(); - if(done) - analyser->done(); - else + AnalyserPtr analyser = m_curLevel->getAnalyser(); + if(analyser) analyser->groupEnd(); - - LevelHandler::groupEnd(); } #define ON_INITIALIZE(cls) \ |