summaryrefslogtreecommitdiff
path: root/rsc/inc
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 /rsc/inc
parentbbc94edb9a91b27910d43610db9994df10dd99e1 (diff)
fdo#44981 - remove obsolete SWAPLONG macros
Diffstat (limited to 'rsc/inc')
-rw-r--r--rsc/inc/rsctools.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index ba266de01513..c969ad4f3af3 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -114,7 +114,7 @@ public:
char* pTo = (char*)&nVal;
*pTo++ = *pFrom++;
*pTo++ = *pFrom++;
- return bSwap ? SWAPSHORT( nVal ) : nVal;
+ return bSwap ? OSL_SWAPWORD( nVal ) : nVal;
}
sal_uInt32 GetLong( sal_uInt32 nPos )
{
@@ -125,7 +125,7 @@ public:
*pTo++ = *pFrom++;
*pTo++ = *pFrom++;
*pTo++ = *pFrom++;
- return bSwap ? SWAPLONG( nVal ) : nVal;
+ return bSwap ? OSL_SWAPDWORD( nVal ) : nVal;
}
char * GetUTF8( sal_uInt32 nPos )
{
@@ -212,7 +212,7 @@ public:
void PutAt( sal_uInt32 nPos, sal_uInt16 nVal )
{
if( bSwap )
- nVal = SWAPSHORT( nVal );
+ nVal = OSL_SWAPWORD( nVal );
char* pTo = GetPointer( nPos );
char* pFrom = (char*)&nVal;
*pTo++ = *pFrom++;