summaryrefslogtreecommitdiffstats
path: root/dcop/dcopidl/scanner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/dcopidl/scanner.cc')
-rw-r--r--dcop/dcopidl/scanner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcop/dcopidl/scanner.cc b/dcop/dcopidl/scanner.cc
index e91b21d68..f118a67e9 100644
--- a/dcop/dcopidl/scanner.cc
+++ b/dcop/dcopidl/scanner.cc
@@ -1226,8 +1226,8 @@ YY_RULE_SETUP
#line 170 "scanner.ll"
{
TQString s( yytext );
- int i = s.find(TQRegExp("[\"<]"))+1;
- int j = s.find(TQRegExp("[\">]"), i);
+ int i = s.tqfind(TQRegExp("[\"<]"))+1;
+ int j = s.tqfind(TQRegExp("[\">]"), i);
yylval._str = new TQString( s.mid( i, j - i ) );
idl_line_no++;
return T_INCLUDE;