summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyutils.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/mymoney/mymoneyutils.cpp b/kmymoney2/mymoney/mymoneyutils.cpp
index 49d5cac..93700af 100644
--- a/kmymoney2/mymoney/mymoneyutils.cpp
+++ b/kmymoney2/mymoney/mymoneyutils.cpp
@@ -337,7 +337,7 @@ unsigned long extractId(const TQString& txt)
pos = txt.find(TQRegExp("\\d+"), 0);
if(pos != -1) {
- rc = atol(txt.mid(pos));
+ rc = txt.mid(pos).toLong();
}
return rc;
}