really fix bigendian builds

this time - since I missed to take over one rename
between trees. sigh. Continues 089c91b1ad

Change-Id: I726410ab1024b995937952fbce1214866ee8ba19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135629
Tested-by: René Engelhard <rene@debian.org>
Reviewed-by: René Engelhard <rene@debian.org>
This commit is contained in:
Rene Engelhard 2022-06-10 19:45:46 +02:00 committed by René Engelhard
parent da8d90854d
commit f18b06ca51

View file

@ -2159,7 +2159,7 @@ WW8PLCFspecial::WW8PLCFspecial(SvStream* pSt, sal_uInt32 nFilePos,
m_nIMax = ( nPLCF - 4 ) / ( 4 + nStruct ); m_nIMax = ( nPLCF - 4 ) / ( 4 + nStruct );
#ifdef OSL_BIGENDIAN #ifdef OSL_BIGENDIAN
for( m_nIdx = 0; m_nIdx <= m_nIMax; nIdx++ ) for( m_nIdx = 0; m_nIdx <= m_nIMax; m_nIdx++ )
m_pPLCF_PosArray[m_nIdx] = OSL_SWAPDWORD( m_pPLCF_PosArray[m_nIdx] ); m_pPLCF_PosArray[m_nIdx] = OSL_SWAPDWORD( m_pPLCF_PosArray[m_nIdx] );
m_nIdx = 0; m_nIdx = 0;
#endif // OSL_BIGENDIAN #endif // OSL_BIGENDIAN