From fe4bb3579ad4539034deada1e201aa8d9ed6518f Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 5 Mar 2012 22:31:43 +0000 Subject: basic: add missing forward declarations for helper functions --- basic/source/runtime/methods.cxx | 3 +++ basic/source/runtime/methods1.cxx | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'basic') diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 28ce80fa4ea8..fa7d7a1efb0f 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -122,6 +122,9 @@ SbxVariable* getDefaultProp( SbxVariable* pRef ); #ifndef DISABLE_SCRIPTING +// forward decl. +sal_Bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& rdRet ); + // from source/classes/sbxmod.cxx Reference< XModel > getDocumentModel( StarBASIC* ); diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 91c739f84f33..51f73d12d018 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -70,6 +70,7 @@ using namespace com::sun::star::i18n; void unoToSbxValue( SbxVariable* pVar, const Any& aValue ); Any sbxToUnoValue( SbxVariable* pVar, const Type& rType, com::sun::star::beans::Property* pUnoProperty = NULL ); +sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam = false, sal_Int16 nFirstDay = 0 ); static Reference< XCalendar3 > getLocaleCalendar( void ) { @@ -3210,7 +3211,7 @@ RTLFUNC(Me) #endif -sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam = false, sal_Int16 nFirstDay = 0 ) +sal_Int16 implGetWeekDay( double aDate, bool bFirstDayParam, sal_Int16 nFirstDay ) { Date aRefDate( 1,1,1900 ); long nDays = (long) aDate; -- cgit