From a371fd4d725b11a67cc3e2cc528c3633549f79a3 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky <kendy@suse.cz> Date: Mon, 15 Aug 2011 08:27:33 +0200 Subject: callcatcher: Remove unused CalendarField and CalendarWrapper methods. --- unotools/inc/unotools/calendarwrapper.hxx | 1 - unotools/source/i18n/calendarwrapper.cxx | 21 --------------------- 2 files changed, 22 deletions(-) (limited to 'unotools') diff --git a/unotools/inc/unotools/calendarwrapper.hxx b/unotools/inc/unotools/calendarwrapper.hxx index ee240d0a858c..7d0ffd32acf7 100644 --- a/unotools/inc/unotools/calendarwrapper.hxx +++ b/unotools/inc/unotools/calendarwrapper.hxx @@ -89,7 +89,6 @@ public: sal_Int16 getFirstDayOfWeek() const; void setFirstDayOfWeek( sal_Int16 nDay ); void setMinimumNumberOfDaysForFirstWeek( sal_Int16 nDays ); - sal_Int16 getMinimumNumberOfDaysForFirstWeek() const; sal_Int16 getNumberOfMonthsInYear() const; sal_Int16 getNumberOfDaysInWeek() const; ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::CalendarItem > getMonths() const; diff --git a/unotools/source/i18n/calendarwrapper.cxx b/unotools/source/i18n/calendarwrapper.cxx index add5d6733938..4510981a8bd2 100644 --- a/unotools/source/i18n/calendarwrapper.cxx +++ b/unotools/source/i18n/calendarwrapper.cxx @@ -529,27 +529,6 @@ void CalendarWrapper::setMinimumNumberOfDaysForFirstWeek( sal_Int16 nDays ) } -sal_Int16 CalendarWrapper::getMinimumNumberOfDaysForFirstWeek() const -{ - try - { - if ( xC.is() ) - return xC->getMinimumNumberOfDaysForFirstWeek(); - } - catch ( Exception& e ) - { -#ifdef DBG_UTIL - ByteString aMsg( "getMinimumNumberOfDaysForFirstWeek: Exception caught\n" ); - aMsg += ByteString( String( e.Message ), RTL_TEXTENCODING_UTF8 ); - DBG_ERRORFILE( aMsg.GetBuffer() ); -#else - (void)e; -#endif - } - return 0; -} - - sal_Int16 CalendarWrapper::getNumberOfMonthsInYear() const { try -- cgit