summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp
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/mymoney/mymoneykeyvaluecontainer.cpp
parent7b2485b7a44922b7a5ceec8159d22cd579f5d416 (diff)
downloadkmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.tar.gz
kmymoney-2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc.zip
Fix a number of crashes
Diffstat (limited to 'kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp
index 22fa1ac..cabf772 100644
--- a/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp
+++ b/kmymoney2/mymoney/mymoneykeyvaluecontainer.cpp
@@ -55,7 +55,7 @@ const TQString& MyMoneyKeyValueContainer::value(const TQString& key) const
it = m_kvp.find(key);
if(it != m_kvp.end())
return (*it);
- return TQString();
+ return TQString::null;
}
void MyMoneyKeyValueContainer::setValue(const TQString& key, const TQString& value)