diff options
Diffstat (limited to 'libkholidays/kholidays.cpp')
-rw-r--r-- | libkholidays/kholidays.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkholidays/kholidays.cpp b/libkholidays/kholidays.cpp index 686b438a0..3b4ec63a2 100644 --- a/libkholidays/kholidays.cpp +++ b/libkholidays/kholidays.cpp @@ -92,7 +92,7 @@ TQString KHolidays::shortText( const TQDate &date ) TQValueList<KHoliday> lst = getHolidays( date ); if ( !lst.isEmpty() ) return lst.first().text; - else return TQString::null; + else return TQString(); } bool KHolidays::parseFile( const TQDate &date ) @@ -118,7 +118,7 @@ TQString KHolidays::getHoliday( const TQDate &date ) TQValueList<KHoliday> lst = getHolidays( date ); if ( !lst.isEmpty() ) return lst.first().text; - else return TQString::null; + else return TQString(); } TQValueList<KHoliday> KHolidays::getHolidays( const TQDate &date ) |