diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 20:21:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 20:23:46 +0000 |
commit | 19f53f40039a935fee48fdf1fb1f801f489fd478 (patch) | |
tree | 1f5d8a5ec2f4e2733c1fbffdf7082cd0e48877c3 /svtools | |
parent | bd530e28868f8573fdb85d45c80f07a66edb8d7b (diff) |
SWAPLONG->OSL_SWAPDWORD
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/wmf/winwmf.cxx | 2 | ||||
-rw-r--r-- | svtools/source/filter/wmf/wmfwr.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/filter/wmf/winwmf.cxx b/svtools/source/filter/wmf/winwmf.cxx index c6e76d724625..214dd574bde2 100644 --- a/svtools/source/filter/wmf/winwmf.cxx +++ b/svtools/source/filter/wmf/winwmf.cxx @@ -875,7 +875,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc ) if ( nEscLen <= ( nRecSize * 2 ) ) { #ifdef OSL_BIGENDIAN - sal_uInt32 nTmp = SWAPLONG( nEsc ); + sal_uInt32 nTmp = OSL_SWAPDWORD( nEsc ); sal_uInt32 nCheckSum = rtl_crc32( 0, &nTmp, 4 ); #else sal_uInt32 nCheckSum = rtl_crc32( 0, &nEsc, 4 ); diff --git a/svtools/source/filter/wmf/wmfwr.cxx b/svtools/source/filter/wmf/wmfwr.cxx index 2079154be05c..ca0caada7e2f 100644 --- a/svtools/source/filter/wmf/wmfwr.cxx +++ b/svtools/source/filter/wmf/wmfwr.cxx @@ -523,7 +523,7 @@ bool IsStarSymbol(const String &rStr) void WMFWriter::WMFRecord_Escape( sal_uInt32 nEsc, sal_uInt32 nLen, const sal_Int8* pData ) { #ifdef OSL_BIGENDIAN - sal_uInt32 nTmp = SWAPLONG( nEsc ); + sal_uInt32 nTmp = OSL_SWAPDWORD( nEsc ); sal_uInt32 nCheckSum = rtl_crc32( 0, &nTmp, 4 ); #else sal_uInt32 nCheckSum = rtl_crc32( 0, &nEsc, 4 ); |