summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cppparser/lexer.h')
-rw-r--r--lib/cppparser/lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cppparser/lexer.h b/lib/cppparser/lexer.h
index 12f16696..2630edf7 100644
--- a/lib/cppparser/lexer.h
+++ b/lib/cppparser/lexer.h
@@ -244,11 +244,11 @@ public:
int currentColumn() const { return m_currentColumn; }
inline const CHARTYPE* offset( int offset ) const {
- return m_source.unicode() + offset;
+ return m_source.tqunicode() + offset;
}
inline int getOffset( const TQChar* p ) const {
- return int(p - (m_source.unicode()));
+ return int(p - (m_source.tqunicode()));
}
private: