summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp')
-rw-r--r--umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp b/umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp
index 14d7ce70..a3f4d26f 100644
--- a/umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp
+++ b/umbrello/umbrello/codegenerators/rubycodeaccessormethod.cpp
@@ -153,9 +153,9 @@ void RubyCodeAccessorMethod::updateMethodDeclaration()
TQString endLine = p->getNewLineEndingChars();
TQString description = getParentObject()->getDoc();
- description.tqreplace(TQRegExp("m_[npb](?=[A-Z])"), "");
- description.tqreplace("m_", "");
- description.tqreplace(TQRegExp("[\\n\\r]+[\\t ]*"), endLine);
+ description.replace(TQRegExp("m_[npb](?=[A-Z])"), "");
+ description.replace("m_", "");
+ description.replace(TQRegExp("[\\n\\r]+[\\t ]*"), endLine);
// set scope of this accessor appropriately..if its an attribute,
// we need to be more sophisticated