diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-01 15:21:13 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-04-01 15:21:13 (GMT) |
commit | d8da737acd32d4cdd8e956ee7bc8329ad73c8d58 (patch) | |
tree | 3a293a9effd1e75fc51a16da348b000001756267 /addon/doxmlparser/src/mainhandler.cpp | |
parent | a633d7976dbe31f1499efa59ae27ce75ff7015d7 (diff) | |
download | Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.zip Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.tar.gz Doxygen-d8da737acd32d4cdd8e956ee7bc8329ad73c8d58.tar.bz2 |
Release-1.2.15
Diffstat (limited to 'addon/doxmlparser/src/mainhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/mainhandler.cpp | 4 |
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) |