MCPcopy Create free account
hub / github.com/LibreOffice/core / readInt32

Method readInt32

scripting/source/stringresource/stringresource.cxx:1319–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1317}
1318
1319sal_Int32 BinaryInput::readInt32()
1320{
1321 sal_Int32 nRet = 0;
1322 if( m_nCurPos + 4 <= m_nSize )
1323 {
1324 sal_Int32 nFactor = 1;
1325 for( sal_Int16 i = 0; i < 4; i++ )
1326 {
1327 nRet += sal_uInt8( m_pData[m_nCurPos++] ) * nFactor;
1328 nFactor *= 256;
1329 }
1330 }
1331 else
1332 OSL_FAIL( "BinaryInput::readInt32(): Read past end" );
1333
1334 return nRet;
1335}
1336
1337sal_Unicode BinaryInput::readUnicodeChar()
1338{

Callers 15

importBinaryMethod · 0.45
importWorkbookPrMethod · 0.45
importCalcPrMethod · 0.45
importSheetViewMethod · 0.45
importPaneMethod · 0.45
importSelectionMethod · 0.45
importChartSheetViewMethod · 0.45
importWorkbookViewMethod · 0.45
importSheetFormatPrMethod · 0.45
importColMethod · 0.45
importBrkMethod · 0.45
importOleObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected