diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/aswriter.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerators/aswriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codegenerators/aswriter.cpp b/umbrello/umbrello/codegenerators/aswriter.cpp index 20f9a4a4..e973a55e 100644 --- a/umbrello/umbrello/codegenerators/aswriter.cpp +++ b/umbrello/umbrello/codegenerators/aswriter.cpp @@ -67,8 +67,8 @@ void ASWriter::writeClass(UMLClassifier *c) str = getHeadingFile(".as"); if(!str.isEmpty()) { - str.tqreplace(TQRegExp("%filename%"),fileName+".as"); - str.tqreplace(TQRegExp("%filepath%"),fileas.name()); + str.replace(TQRegExp("%filename%"),fileName+".as"); + str.replace(TQRegExp("%filepath%"),fileas.name()); as << str << m_endl; } |