summaryrefslogtreecommitdiffstats
path: root/kmymoney2/converter
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-14 01:10:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-14 01:10:51 -0600
commit2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc (patch)
tree673921e3e9310f55904ccd88962f74c401686758 /kmymoney2/converter
parent7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff)
downloadkmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz
kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip
Fix a number of crashes
Diffstat (limited to 'kmymoney2/converter')
-rw-r--r--kmymoney2/converter/mymoneyqifprofile.cpp2
-rw-r--r--kmymoney2/converter/mymoneyqifreader.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/converter/mymoneyqifprofile.cpp b/kmymoney2/converter/mymoneyqifprofile.cpp
index 52ef770..880b1c2 100644
--- a/kmymoney2/converter/mymoneyqifprofile.cpp
+++ b/kmymoney2/converter/mymoneyqifprofile.cpp
@@ -769,7 +769,7 @@ TQString MyMoneyQifProfile::inputDateFormat(void) const
possibleDateFormats(list);
if(list.count() == 1)
return list.first();
- return TQString();
+ return TQString::null;
}
void MyMoneyQifProfile::possibleDateFormats(TQStringList& list) const
diff --git a/kmymoney2/converter/mymoneyqifreader.cpp b/kmymoney2/converter/mymoneyqifreader.cpp
index 9390429..a974e8f 100644
--- a/kmymoney2/converter/mymoneyqifreader.cpp
+++ b/kmymoney2/converter/mymoneyqifreader.cpp
@@ -714,7 +714,7 @@ const TQString MyMoneyQifReader::extractLine(const TQChar id, int cnt)
}
}
m_extractedLine = -1;
- return TQString();
+ return TQString::null;
}
void MyMoneyQifReader::extractSplits(TQValueList<qSplit>& listqSplits) const