summaryrefslogtreecommitdiff
path: root/src/xmlcomposehelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlcomposehelpers.cpp')
-rw-r--r--src/xmlcomposehelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlcomposehelpers.cpp b/src/xmlcomposehelpers.cpp
index 1bea55f..a1bc73f 100644
--- a/src/xmlcomposehelpers.cpp
+++ b/src/xmlcomposehelpers.cpp
@@ -92,11 +92,11 @@ void Level::setElement(DOM::Element element, bool deep)
m_element = element;
}
-AnalyserPtr Level::getAnalyser()
+AnalyserPtr Level::getAnalyser(bool deep)
{
if(m_analyser)
return m_analyser;
- else if(m_previous)
+ else if(deep && m_previous)
return m_previous->getAnalyser();
else
return NULL;