summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlcomposer.cpp')
-rw-r--r--src/xmlcomposer.cpp17
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) \