diff options
Diffstat (limited to 'lotuswordpro/source/filter/ut.hxx')
-rw-r--r-- | lotuswordpro/source/filter/ut.hxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/ut.hxx b/lotuswordpro/source/filter/ut.hxx index c499e9c7872e..4f5022976df9 100644 --- a/lotuswordpro/source/filter/ut.hxx +++ b/lotuswordpro/source/filter/ut.hxx @@ -55,20 +55,18 @@ ************************************************************************/ #ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_UT_HXX #define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_UT_HXX -# include <sal/types.h> +#include <sal/types.h> namespace OpenStormBento { +inline sal_uInt16 UtGetIntelWord(sal_uInt8 const* pData) { return pData[0] | pData[1] << 8; } -inline sal_uInt16 UtGetIntelWord(sal_uInt8 const * pData) -{ return pData[0] | pData[1] << 8; } - -inline sal_uInt32 UtGetIntelDWord(sal_uInt8 const * pData) -{ return pData[0] | pData[1] << 8 | pData[2] << 16 | pData[3] << 24; } - -inline sal_uInt8 UtGetIntelByte(sal_uInt8 const * pData) -{ return * pData; } +inline sal_uInt32 UtGetIntelDWord(sal_uInt8 const* pData) +{ + return pData[0] | pData[1] << 8 | pData[2] << 16 | pData[3] << 24; +} +inline sal_uInt8 UtGetIntelByte(sal_uInt8 const* pData) { return *pData; } } #endif |