summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/mi/milexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/mi/milexer.cpp')
-rw-r--r--languages/cpp/debugger/mi/milexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/debugger/mi/milexer.cpp b/languages/cpp/debugger/mi/milexer.cpp
index 847733ad..7813d091 100644
--- a/languages/cpp/debugger/mi/milexer.cpp
+++ b/languages/cpp/debugger/mi/milexer.cpp
@@ -281,10 +281,10 @@ void TokenStream::positionAt(int position, int *line, int *column) const
Q_ASSERT( *column >= 0 );
}
-QCString TokenStream::tokenText(int index) const
+TQCString TokenStream::tokenText(int index) const
{
Token *t = index < 0 ? m_currentToken : m_firstToken + index;
const char* data = m_contents;
- return QCString(data + t->position, t->length+1);
+ return TQCString(data + t->position, t->length+1);
}