Kaydet (Commit) daf1578d authored tarafından Caolán McNamara's avatar Caolán McNamara

check stream status

Change-Id: I27bb289288d319a93201e9c3d703114924ca258c
üst ca77ec42
......@@ -650,7 +650,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
pAcc = aBmp.AcquireWriteAccess();
if ( pAcc )
{
for (sal_uInt16 y = 0; y < nHeight; y++ )
for (sal_uInt16 y = 0; y < nHeight && pWMF->good(); ++y)
{
sal_uInt16 x = 0;
for (sal_uInt16 scan = 0; scan < nBytesPerScan; scan++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment