summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-01-31 09:17:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-01-31 09:17:53 +0100
commit3af05d9da637c232a28ac7c5aa396c95118eee3b (patch)
tree6322415e55399dd94e1ef6dd6bd892eaf73e8d0d /sot
parent51b85a38b03781a93db33b7817d3c6cebcae11e7 (diff)
SWAPLONG -> OSL_SWAPDWORD
Diffstat (limited to 'sot')
-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;