summaryrefslogtreecommitdiffstats
path: root/languages/ada/backgroundparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ada/backgroundparser.cpp')
-rw-r--r--languages/ada/backgroundparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ada/backgroundparser.cpp b/languages/ada/backgroundparser.cpp
index f38491b9..22d959b0 100644
--- a/languages/ada/backgroundparser.cpp
+++ b/languages/ada/backgroundparser.cpp
@@ -25,7 +25,7 @@ BackgroundParser::BackgroundParser( ProblemReporter* reporter,
const TQString& source,
const TQString& filename )
: m_reporter( reporter ),
- m_source( source.tqunicode(), source.length() ),
+ m_source( source.unicode(), source.length() ),
m_fileName( filename )
{
}
@@ -64,7 +64,7 @@ void BackgroundParser::run()
} catch( antlr::ANTLRException& ex ){
kdDebug() << "*exception*: " << ex.toString().c_str() << endl;
- m_reporter->reportError( TQString::tqfromLatin1( ex.getMessage().c_str() ),
+ m_reporter->reportError( TQString::fromLatin1( ex.getMessage().c_str() ),
m_fileName,
lexer.getLine(),
lexer.getColumn() );