summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sot/source/sdstor/stgcache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index 48e0f7de515b..3d467dfca4fe 100644
--- a/sot/source/sdstor/stgcache.cxx
+++ b/sot/source/sdstor/stgcache.cxx
@@ -91,7 +91,7 @@ void StgPage::SetPage( short nOff, sal_Int32 nVal )
if( ( nOff < (short) ( nData / sizeof( sal_Int32 ) ) ) && nOff >= 0 )
{
#ifdef OSL_BIGENDIAN
- nVal = SWAPLONG(nVal);
+ nVal = OSL_SWAPDWORD(nVal);
#endif
((sal_Int32*) pData )[ nOff ] = nVal;
bDirty = sal_True;