diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneymoney.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneymoney.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/mymoney/mymoneymoney.cpp b/kmymoney2/mymoney/mymoneymoney.cpp index ccf1d80..5a8b562 100644 --- a/kmymoney2/mymoney/mymoneymoney.cpp +++ b/kmymoney2/mymoney/mymoneymoney.cpp @@ -164,7 +164,7 @@ MyMoneyMoney::MyMoneyMoney(const TQString& pszAmount) TQRegExp negCharSet(TQString("[%1]").tqarg(negChars)); bool isNegative = false; - if(res.tqfind(negCharSet) != -1) { + if(res.find(negCharSet) != -1) { isNegative = true; res.remove(negCharSet); } @@ -172,7 +172,7 @@ MyMoneyMoney::MyMoneyMoney(const TQString& pszAmount) int pos; // qDebug("3: '%s'", res.data()); - if((pos = res.tqfind(_decimalSeparator)) != -1) { + if((pos = res.find(_decimalSeparator)) != -1) { // make sure, we get the denominator right m_denom = precToDenom(res.length() - pos - 1); |