summaryrefslogtreecommitdiffstats
path: root/languages/java/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/driver.cpp')
-rw-r--r--languages/java/driver.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/java/driver.cpp b/languages/java/driver.cpp
index f856fc74..9a4bccdf 100644
--- a/languages/java/driver.cpp
+++ b/languages/java/driver.cpp
@@ -100,7 +100,7 @@ void Driver::remove( const TQString & fileName )
{
m_problems.remove( fileName );
- TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.find( fileName );
+ TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.tqfind( fileName );
if( it != m_parsedUnits.end() ){
RefJavaAST unit = *it;
m_parsedUnits.remove( it );
@@ -110,7 +110,7 @@ void Driver::remove( const TQString & fileName )
RefJavaAST Driver::takeTranslationUnit( const TQString& fileName )
{
- TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.find( fileName );
+ TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.tqfind( fileName );
RefJavaAST unit( *it );
//m_parsedUnits.remove( it );
m_parsedUnits[ fileName] = 0;
@@ -119,7 +119,7 @@ RefJavaAST Driver::takeTranslationUnit( const TQString& fileName )
RefJavaAST Driver::translationUnit( const TQString& fileName ) const
{
- TQMap<TQString, RefJavaAST>::ConstIterator it = m_parsedUnits.find( fileName );
+ TQMap<TQString, RefJavaAST>::ConstIterator it = m_parsedUnits.tqfind( fileName );
return it != m_parsedUnits.end() ? *it : RefJavaAST();
}
@@ -130,7 +130,7 @@ void Driver::addProblem( const TQString & fileName, const Problem & problem )
TQValueList < Problem >& Driver::findOrInsertProblemList( const TQString & fileName )
{
- TQMap<TQString, TQValueList<Problem> >::Iterator it = m_problems.find( fileName );
+ TQMap<TQString, TQValueList<Problem> >::Iterator it = m_problems.tqfind( fileName );
if( it != m_problems.end() )
return it.data();
@@ -141,7 +141,7 @@ TQValueList < Problem >& Driver::findOrInsertProblemList( const TQString & fileN
TQValueList < Problem > Driver::problems( const TQString & fileName ) const
{
- TQMap<TQString, TQValueList<Problem> >::ConstIterator it = m_problems.find( fileName );
+ TQMap<TQString, TQValueList<Problem> >::ConstIterator it = m_problems.tqfind( fileName );
if( it != m_problems.end() )
return it.data();
return TQValueList<Problem>();
@@ -152,7 +152,7 @@ void Driver::parseFile( const TQString& fileName, bool onlyPreProcess, bool forc
TQFileInfo fileInfo( fileName );
TQString absFilePath = fileInfo.absFilePath();
- TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.find( absFilePath );
+ TQMap<TQString, RefJavaAST>::Iterator it = m_parsedUnits.tqfind( absFilePath );
if( force && it != m_parsedUnits.end() ){
takeTranslationUnit( absFilePath );
@@ -199,7 +199,7 @@ void Driver::parseFile( const TQString& fileName, bool onlyPreProcess, bool forc
}
- m_currentFileName = TQString::null;
+ m_currentFileName = TQString();
lexer = 0;
fileParsed( fileName );