summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bmpacc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-01-30 13:17:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-30 13:18:38 +0000
commit61451fec9b4ece2d2ef9d1d337dfc9e78c422d93 (patch)
tree7db6906da867d6af5a765579e9338b0838e34daf /vcl/source/gdi/bmpacc.cxx
parentbbc94edb9a91b27910d43610db9994df10dd99e1 (diff)
fdo#44981 - remove obsolete SWAPLONG macros
Diffstat (limited to 'vcl/source/gdi/bmpacc.cxx')
-rw-r--r--vcl/source/gdi/bmpacc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/bmpacc.cxx b/vcl/source/gdi/bmpacc.cxx
index a3174e69e32f..c4ce0e31ef82 100644
--- a/vcl/source/gdi/bmpacc.cxx
+++ b/vcl/source/gdi/bmpacc.cxx
@@ -289,7 +289,7 @@ void BitmapReadAccess::ImplZeroInitUnusedBits()
sal_uInt8* pLast4Bytes = (sal_uInt8*) GetBuffer() + ( nScanSize - 4 );
#ifdef OSL_LITENDIAN
- nMask = SWAPLONG( nMask );
+ nMask = OSL_SWAPDWORD( nMask );
#endif
for( sal_uInt32 i = 0; i < nHeight; i++, pLast4Bytes += nScanSize )
( *(sal_uInt32*) pLast4Bytes ) &= nMask;