summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src/mainhandler.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-04-01 15:21:13 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-04-01 15:21:13 (GMT)
commitde20cde3d47c58a69c25afe75e4c476d61dbe631 (patch)
tree3a293a9effd1e75fc51a16da348b000001756267 /addon/doxmlparser/src/mainhandler.cpp
parent21587da40824d8609575284f0ee0fac90c972f27 (diff)
downloadDoxygen-de20cde3d47c58a69c25afe75e4c476d61dbe631.zip
Doxygen-de20cde3d47c58a69c25afe75e4c476d61dbe631.tar.gz
Doxygen-de20cde3d47c58a69c25afe75e4c476d61dbe631.tar.bz2
Release-1.2.15
Diffstat (limited to 'addon/doxmlparser/src/mainhandler.cpp')
-rw-r--r--addon/doxmlparser/src/mainhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/addon/doxmlparser/src/mainhandler.cpp b/addon/doxmlparser/src/mainhandler.cpp
index aa54cda..99b1e2c 100644
--- a/addon/doxmlparser/src/mainhandler.cpp
+++ b/addon/doxmlparser/src/mainhandler.cpp
@@ -201,7 +201,7 @@ ICompound *MainHandler::compoundById(const QString &id) const
if (ch) // compound already in memory
{
ch->addref(); // returning alias -> increase reference counter
- return ch;
+ return ch->toICompound();
}
CompoundEntry *ce = m_compoundDict.find(id);
if (ce==0) return 0; // id not found
@@ -219,7 +219,7 @@ ICompound *MainHandler::compoundById(const QString &id) const
MainHandler *that = (MainHandler *)this;
ch->initialize(that);
that->m_compoundsLoaded.insert(id,ch);
- return ch;
+ return ch->toICompound();
}
void MainHandler::unloadCompound(CompoundHandler *ch)