From 1623fe64102c18ab098b79656b80f28cef840756 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04. --- lib/cppparser/lexer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/cppparser/lexer.h') 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: -- cgit v1.2.1