diff options
Diffstat (limited to 'addon/doxmlparser/src/compoundhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/compoundhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addon/doxmlparser/src/compoundhandler.cpp b/addon/doxmlparser/src/compoundhandler.cpp index 42acc0e..78fe10a 100644 --- a/addon/doxmlparser/src/compoundhandler.cpp +++ b/addon/doxmlparser/src/compoundhandler.cpp @@ -79,7 +79,7 @@ class CompoundIdIterator : public ICompoundIterator, virtual ICompound *current() const { QString *id = QListIterator<QString>::current(); - return id ? m_mainHandler->compoundById(*id) : 0; + return id ? m_mainHandler->compoundById(id->utf8()) : 0; } virtual void release() { delete this; } @@ -92,7 +92,7 @@ class CompoundIdIterator : public ICompoundIterator, ICompound *RelatedCompound::compound() const { - return m_parent->m_mainHandler->compoundById(m_id); + return m_parent->m_mainHandler->compoundById(m_id.utf8()); } //---------------------------------------------------------------------------- @@ -149,7 +149,7 @@ class CompoundTypeMap } ICompound::CompoundKind map(const QString &s) { - int *val = m_map.find(s); + int *val = m_map.find(s.utf8()); if (val==0) { debug(1,"Warning: `%s' is an invalid compound type\n",s.data()); |