summaryrefslogtreecommitdiffstats
path: root/languages/cpp/stringhelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/stringhelpers.h')
-rw-r--r--languages/cpp/stringhelpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/stringhelpers.h b/languages/cpp/stringhelpers.h
index a6815f2b..33e01827 100644
--- a/languages/cpp/stringhelpers.h
+++ b/languages/cpp/stringhelpers.h
@@ -63,8 +63,8 @@ TQStringList splitType( TQString str ) ;
class ParamIterator {
public:
ParamIterator( TQString parens, TQString source ) : m_source( source ), m_parens( parens ), m_cur( 0 ), m_curEnd ( 0 ) {
- int begin = m_source.tqfind( m_parens[ 0 ] );
- int end = m_source.tqfindRev( m_parens[ 1 ] );
+ int begin = m_source.find( m_parens[ 0 ] );
+ int end = m_source.findRev( m_parens[ 1 ] );
m_prefix = m_source.left( begin );
if ( begin == -1 || end == -1 && end - begin > 1 )