diff options
Diffstat (limited to 'sfx2/source/doc/objuno.cxx')
-rw-r--r-- | sfx2/source/doc/objuno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/objuno.cxx b/sfx2/source/doc/objuno.cxx index 32d50de40d51..8573c4afc0f4 100644 --- a/sfx2/source/doc/objuno.cxx +++ b/sfx2/source/doc/objuno.cxx @@ -128,10 +128,10 @@ const SfxItemPropertyMapEntry* lcl_GetDocInfoPropertyMap() return aDocInfoPropertyMap_Impl; } -static USHORT aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30, +static sal_uInt16 aDaysInMonth[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -inline USHORT DaysInMonth( USHORT nMonth, USHORT nYear ) +inline sal_uInt16 DaysInMonth( sal_uInt16 nMonth, sal_uInt16 nYear ) { if ( nMonth != 2 ) return aDaysInMonth[nMonth-1]; @@ -708,7 +708,7 @@ void SAL_CALL SfxDocumentInfoObject::removeProperty(const ::rtl::OUString& sName return xPropSet->removeProperty(sName); } -BOOL equalsDateTime( const util::DateTime& D1, const util::DateTime& D2 ) +sal_Bool equalsDateTime( const util::DateTime& D1, const util::DateTime& D2 ) { return D1.HundredthSeconds == D2.HundredthSeconds && D1.Seconds == D2.Seconds && |