summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.cpp
diff options
context:
space:
mode:
authorStef <stef@ws.local>2004-07-11 21:33:06 +0000
committerStef <stef@ws.local>2004-07-11 21:33:06 +0000
commit9e0f8dfa9a67b5ceb37db033df4db2b46874aa87 (patch)
tree7e55e57e28e39c0f2f43d0523cded967053f3f2d /src/xmlcomposer.cpp
parent7f776ee854b84c51b471c69a702152feb5672bdb (diff)
Some level fixes
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) \