diff options
Diffstat (limited to 'kdecore/kcalendarsystem.cpp')
-rw-r--r-- | kdecore/kcalendarsystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kcalendarsystem.cpp b/kdecore/kcalendarsystem.cpp index 57898da84..782b272e7 100644 --- a/kdecore/kcalendarsystem.cpp +++ b/kdecore/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.at(iPos).isDigit(); iPos++) + for (; sNum.length() > iPos && sNum.tqat(iPos).isDigit(); iPos++) { result *= 10; - result += sNum.at(iPos).digitValue(); + result += sNum.tqat(iPos).digitValue(); } iLength = iPos; |