Lines Matching refs:nPoly

339 				sal_Int32	i, nPoly;  in ReadEnhWMF()  local
343 *pWMF >> nPoly >> i; in ReadEnhWMF()
346 if ( static_cast< sal_uInt32 >(nPoly) < SAL_MAX_UINT32 / sizeof(sal_uInt16) ) in ReadEnhWMF()
348 … if ( ( static_cast< sal_uInt32 >( nPoly ) * sizeof(sal_uInt16) ) <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF()
350 sal_uInt16* pnPoints = new sal_uInt16[ nPoly ]; in ReadEnhWMF()
352 for ( i = 0; i < nPoly && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
360 for ( i = 0; ( i < nPoly ) && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
378 sal_uInt32 nPoly(0); in ReadEnhWMF() local
384 *pWMF >> nPoly >> nGesPoints; in ReadEnhWMF()
386 …if ( ( nGesPoints < SAL_MAX_UINT32 / sizeof(Point) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(sal_uInt… in ReadEnhWMF()
388 if ( ( nPoly * sizeof(sal_uInt16) ) <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF()
391 sal_uInt16* pnPoints = new sal_uInt16[ nPoly ]; in ReadEnhWMF()
393 for ( i = 0; i < nPoly && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
401 PolyPolygon aPolyPoly(nPoly, nPoly); in ReadEnhWMF()
403 for ( i = 0; i < nPoly && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
1195 sal_Int32 i, nPoly, nGesPoints; in ReadEnhWMF() local
1198 *pWMF >> nPoly >> nGesPoints; in ReadEnhWMF()
1201 if ( static_cast< sal_uInt32 >(nPoly) < SAL_MAX_UINT32 / sizeof(sal_uInt16) ) in ReadEnhWMF()
1203 … if ( ( static_cast< sal_uInt32 >( nPoly ) * sizeof(sal_uInt16) ) <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF()
1205 pnPoints = new sal_uInt16[ nPoly ]; in ReadEnhWMF()
1206 for ( i = 0; i < nPoly; i++ ) in ReadEnhWMF()
1212 for ( i = 0; ( i < nPoly ) && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
1230 sal_uInt32 nPoly(0); in ReadEnhWMF() local
1234 *pWMF >> nPoly >> nGesPoints; in ReadEnhWMF()
1237 …if ( ( nGesPoints < SAL_MAX_UINT32 / sizeof(Point) ) && ( nPoly < SAL_MAX_UINT32 / sizeof(sal_uInt… in ReadEnhWMF()
1239 … if ( ( static_cast< sal_uInt32 >( nPoly ) * sizeof( sal_uInt16 ) ) <= ( nEndPos - pWMF->Tell() ) ) in ReadEnhWMF()
1242 sal_uInt16* pnPoints = new sal_uInt16[ nPoly ]; in ReadEnhWMF()
1244 for ( i = 0; i < nPoly && !pWMF->IsEof(); i++ ) in ReadEnhWMF()
1252 PolyPolygon aPolyPoly(nPoly, nPoly); in ReadEnhWMF()
1254 for ( i = 0; i < nPoly && !pWMF->IsEof(); i++ ) in ReadEnhWMF()