diff options
Diffstat (limited to 'svtools/workben/svdem.cxx')
-rw-r--r-- | svtools/workben/svdem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/workben/svdem.cxx b/svtools/workben/svdem.cxx index abb28ac584cc..7aede1c44da2 100644 --- a/svtools/workben/svdem.cxx +++ b/svtools/workben/svdem.cxx @@ -1006,7 +1006,7 @@ IMPL_LINK( MyWin, CalSelectHdl, CalendarField*, pCtrl ) if ( pCtrl == &aCalendarField ) { Calendar* l_pCalendar = pCtrl->GetCalendar(); - aCalendarField2.SetDate( l_pCalendar->GetSelectDate( l_pCalendar->GetSelectDateCount()-1 ) ); + aCalendarField2.SetDate( l_pCalendar->GetLastSelectDate() ); } return 0; |