summaryrefslogtreecommitdiffstats
path: root/tdecore/kcalendarsystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kcalendarsystem.cpp')
-rw-r--r--tdecore/kcalendarsystem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kcalendarsystem.cpp b/tdecore/kcalendarsystem.cpp
index 782b272e7..57898da84 100644
--- a/tdecore/kcalendarsystem.cpp
+++ b/tdecore/kcalendarsystem.cpp
@@ -90,10 +90,10 @@ static int stringToInteger(const TQString & sNum, int & iLength)
unsigned int iPos = 0;
int result = 0;
- for (; sNum.length() > iPos && sNum.tqat(iPos).isDigit(); iPos++)
+ for (; sNum.length() > iPos && sNum.at(iPos).isDigit(); iPos++)
{
result *= 10;
- result += sNum.tqat(iPos).digitValue();
+ result += sNum.at(iPos).digitValue();
}
iLength = iPos;