summaryrefslogtreecommitdiffstats
path: root/languages/cpp/ast_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/ast_utils.cpp')
-rw-r--r--languages/cpp/ast_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp
index 4c9d63d1..8db2e754 100644
--- a/languages/cpp/ast_utils.cpp
+++ b/languages/cpp/ast_utils.cpp
@@ -118,7 +118,7 @@ TQString typeSpecToString( TypeSpecifierAST* typeSpec ) /// @todo remove
if ( !typeSpec )
return TQString();
- return typeSpec->text().tqreplace( TQRegExp( " :: " ), "::" );
+ return typeSpec->text().replace( TQRegExp( " :: " ), "::" );
}
TQString declaratorToString( DeclaratorAST* declarator, const TQString& scope, bool skipPtrOp )
@@ -185,6 +185,6 @@ TQString declaratorToString( DeclaratorAST* declarator, const TQString& scope, b
text += " const";
}
- return text.tqreplace( TQRegExp( " :: " ), "::" ).simplifyWhiteSpace();
+ return text.replace( TQRegExp( " :: " ), "::" ).simplifyWhiteSpace();
}
//kate: indent-mode csands; tab-width 4; space-indent off;