summaryrefslogtreecommitdiffstats
path: root/kcontrol/css/template.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/css/template.cpp')
-rw-r--r--kcontrol/css/template.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kcontrol/css/template.cpp b/kcontrol/css/template.cpp
index a34839ef2..e237ed796 100644
--- a/kcontrol/css/template.cpp
+++ b/kcontrol/css/template.cpp
@@ -23,16 +23,16 @@ bool CSSTemplate::expand(TQString destname, const TQMap<TQString,TQString> &dict
{
line = is.readLine();
- int start = line.tqfind('$');
+ int start = line.find('$');
if (start >= 0)
{
- int end = line.tqfind('$', start+1);
+ int end = line.find('$', start+1);
if (end >= 0)
{
TQString expr = line.mid(start+1, end-start-1);
TQString res = dict[expr];
- line.tqreplace(start, end-start+1, res);
+ line.replace(start, end-start+1, res);
}
}
os << line << endl;