diff options
author | Noel Grandin <noel@peralex.com> | 2012-01-30 13:17:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-30 13:18:38 +0000 |
commit | 61451fec9b4ece2d2ef9d1d337dfc9e78c422d93 (patch) | |
tree | 7db6906da867d6af5a765579e9338b0838e34daf /vcl/source/gdi/impgraph.cxx | |
parent | bbc94edb9a91b27910d43610db9994df10dd99e1 (diff) |
fdo#44981 - remove obsolete SWAPLONG macros
Diffstat (limited to 'vcl/source/gdi/impgraph.cxx')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 6aaedd6558fb..38261b9b095e 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -991,17 +991,17 @@ sal_Bool ImpGraphic::ImplReadEmbedded( SvStream& rIStm, sal_Bool bSwap ) // swapped if( nType > 100L ) { - nType = SWAPLONG( nType ); - nLen = SWAPLONG( nLen ); - nWidth = SWAPLONG( nWidth ); - nHeight = SWAPLONG( nHeight ); - nMapMode = SWAPLONG( nMapMode ); - nScaleNumX = SWAPLONG( nScaleNumX ); - nScaleDenomX = SWAPLONG( nScaleDenomX ); - nScaleNumY = SWAPLONG( nScaleNumY ); - nScaleDenomY = SWAPLONG( nScaleDenomY ); - nOffsX = SWAPLONG( nOffsX ); - nOffsY = SWAPLONG( nOffsY ); + nType = OSL_SWAPDWORD( nType ); + nLen = OSL_SWAPDWORD( nLen ); + nWidth = OSL_SWAPDWORD( nWidth ); + nHeight = OSL_SWAPDWORD( nHeight ); + nMapMode = OSL_SWAPDWORD( nMapMode ); + nScaleNumX = OSL_SWAPDWORD( nScaleNumX ); + nScaleDenomX = OSL_SWAPDWORD( nScaleDenomX ); + nScaleNumY = OSL_SWAPDWORD( nScaleNumY ); + nScaleDenomY = OSL_SWAPDWORD( nScaleDenomY ); + nOffsX = OSL_SWAPDWORD( nOffsX ); + nOffsY = OSL_SWAPDWORD( nOffsY ); } aSize = Size( nWidth, nHeight ); |