[Libreoffice-commits] .: sot/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Tue Jan 31 00:18:03 PST 2012


 sot/source/sdstor/stgcache.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3af05d9da637c232a28ac7c5aa396c95118eee3b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 31 09:17:53 2012 +0100

    SWAPLONG -> OSL_SWAPDWORD

diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx
index 48e0f7d..3d467df 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;


More information about the Libreoffice-commits mailing list