diff options
Diffstat (limited to 'svl/source/inc')
-rw-r--r-- | svl/source/inc/poolio.hxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx index 8575a2e21b2d..ca51c49ee605 100644 --- a/svl/source/inc/poolio.hxx +++ b/svl/source/inc/poolio.hxx @@ -168,32 +168,6 @@ struct SfxItemPool_Impl }; -#define CHECK_FILEFORMAT( rStream, nTag ) \ - { sal_uInt16 nFileTag; \ - rStream.ReadUInt16( nFileTag ); \ - if ( nTag != nFileTag ) \ - { \ - OSL_FAIL( #nTag ); /*! s.u. */ \ - /*! Set error code and evaluate! */ \ - (rStream).SetError(SVSTREAM_FILEFORMAT_ERROR); \ - pImp->bStreaming = false; \ - return rStream; \ - } \ - } - -#define CHECK_FILEFORMAT2( rStream, nTag1, nTag2 ) \ - { sal_uInt16 nFileTag; \ - rStream.ReadUInt16( nFileTag ); \ - if ( nTag1 != nFileTag && nTag2 != nFileTag ) \ - { \ - OSL_FAIL( #nTag1 ); /*! s.u. */ \ - /*! Set error code and evaluate! */ \ - (rStream).SetError(SVSTREAM_FILEFORMAT_ERROR); \ - pImp->bStreaming = false; \ - return rStream; \ - } \ - } - #define SFX_ITEMPOOL_VER_MAJOR sal_uInt8(2) #define SFX_ITEMPOOL_VER_MINOR sal_uInt8(0) |