summaryrefslogtreecommitdiffstats
path: root/tdecore/kcalendarsystemhebrew.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kcalendarsystemhebrew.cpp')
-rw-r--r--tdecore/kcalendarsystemhebrew.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kcalendarsystemhebrew.cpp b/tdecore/kcalendarsystemhebrew.cpp
index 2f0aa111a..e0737c5b3 100644
--- a/tdecore/kcalendarsystemhebrew.cpp
+++ b/tdecore/kcalendarsystemhebrew.cpp
@@ -306,7 +306,7 @@ int KCalendarSystemHebrew::weeksInYear(int year) const
int nWeekNumber = weekNumber(temp);
if(nWeekNumber == 1) // last week belongs to next year
{
- temp = TQT_TQDATE_OBJECT(temp.addDays(-7));
+ temp = temp.addDays(-7);
nWeekNumber = weekNumber(temp);
}
@@ -574,7 +574,7 @@ int KCalendarSystemHebrew::weekDayOfPray() const
// Ok
TQDate KCalendarSystemHebrew::addDays( const TQDate & date, int ndays ) const
{
- return TQT_TQDATE_OBJECT(date.addDays( ndays ));
+ return date.addDays( ndays );
}
// Ok