summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreecommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreecommands.cpp')
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.cpp b/konq-plugins/domtreeviewer/domtreecommands.cpp
index e8f8f05..7eef49d 100644
--- a/konq-plugins/domtreeviewer/domtreecommands.cpp
+++ b/konq-plugins/domtreeviewer/domtreecommands.cpp
@@ -401,8 +401,8 @@ void ChangeCDataCommand::apply()
if (!shouldReapply()) {
oldValue = cdata.data();
has_newlines =
- TQConstString(value.tqunicode(), value.length()).string().tqcontains('\n')
- || TQConstString(oldValue.tqunicode(), oldValue.length()).string().tqcontains('\n');
+ TQConstString(value.tqunicode(), value.length()).string().contains('\n')
+ || TQConstString(oldValue.tqunicode(), oldValue.length()).string().contains('\n');
}
cdata.setData(value);
addChangedNode(cdata);