summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-31 20:21:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-31 20:23:46 +0000
commit19f53f40039a935fee48fdf1fb1f801f489fd478 (patch)
tree1f5d8a5ec2f4e2733c1fbffdf7082cd0e48877c3 /svtools
parentbuild oox with explicit -Os on ia64 as it otherwise gets too big to link (diff)
downloadcore-19f53f40039a935fee48fdf1fb1f801f489fd478.tar.gz
core-19f53f40039a935fee48fdf1fb1f801f489fd478.zip
SWAPLONG->OSL_SWAPDWORD
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/wmf/winwmf.cxx2
-rw-r--r--svtools/source/filter/wmf/wmfwr.cxx2
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 );