diff options
Diffstat (limited to 'languages/cpp/debugger/mi')
-rw-r--r-- | languages/cpp/debugger/mi/gdbmi.h | 2 | ||||
-rw-r--r-- | languages/cpp/debugger/mi/milexer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/debugger/mi/gdbmi.h b/languages/cpp/debugger/mi/gdbmi.h index 64252ee5..03985958 100644 --- a/languages/cpp/debugger/mi/gdbmi.h +++ b/languages/cpp/debugger/mi/gdbmi.h @@ -189,7 +189,7 @@ namespace GDBMI struct Record { virtual ~Record() {} - virtual TQString toString() const { Q_ASSERT( 0 ); return TQString::null; } + virtual TQString toString() const { Q_ASSERT( 0 ); return TQString(); } enum { Prompt, Stream, Result } kind; }; diff --git a/languages/cpp/debugger/mi/milexer.cpp b/languages/cpp/debugger/mi/milexer.cpp index 7813d091..74b8eda9 100644 --- a/languages/cpp/debugger/mi/milexer.cpp +++ b/languages/cpp/debugger/mi/milexer.cpp @@ -275,7 +275,7 @@ void TokenStream::positionAt(int position, int *line, int *column) const len = half; } - *line = QMAX(first - 1, 0); + *line = TQMAX(first - 1, 0); *column = position - m_lines.at(*line); Q_ASSERT( *column >= 0 ); |