diff options
Diffstat (limited to 'kspread/valueconverter.cc')
-rw-r--r-- | kspread/valueconverter.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/valueconverter.cc b/kspread/valueconverter.cc index cd649c36..8dda86d1 100644 --- a/kspread/valueconverter.cc +++ b/kspread/valueconverter.cc @@ -228,11 +228,11 @@ Value ValueConverter::asDateTime (const Value &value) const switch (value.type()) { case Value::Empty: - val.setValue (TQDateTime::currentDateTime()); + val.setValue (TQDateTime::tqcurrentDateTime()); break; case Value::Boolean: //ignore the bool value... any better idea? ;) - val.setValue (TQDateTime::currentDateTime()); + val.setValue (TQDateTime::tqcurrentDateTime()); break; case Value::Integer: val.setValue (value.asFloat()); @@ -269,11 +269,11 @@ Value ValueConverter::asDate (const Value &value) const switch (value.type()) { case Value::Empty: - val.setValue (TQDate::currentDate()); + val.setValue (TQDate::tqcurrentDate()); break; case Value::Boolean: //ignore the bool value... any better idea? ;) - val.setValue (TQDate::currentDate()); + val.setValue (TQDate::tqcurrentDate()); break; case Value::Integer: val.setValue (value.asFloat()); |