summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-08-15 08:27:33 +0200
committerJan Holesovsky <kendy@suse.cz>2011-08-15 13:11:51 +0200
commita371fd4d725b11a67cc3e2cc528c3633549f79a3 (patch)
tree8528796816825314c7b38b35012ff7aee8419696 /unotools
parent653464f8f835f31d1f1b6b75fe4e6cb98ca30d5c (diff)
callcatcher: Remove unused CalendarField and CalendarWrapper methods.
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/calendarwrapper.hxx1
-rw-r--r--unotools/source/i18n/calendarwrapper.cxx21
2 files changed, 0 insertions, 22 deletions
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