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

tighten eps preview search

Change-Id: I61e870dc408564b889c2ef115191f34c99286f2a
Reviewed-on: https://gerrit.libreoffice.org/43323Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 68a41746
......@@ -669,8 +669,11 @@ ipsGraphicImport( SvStream & rStream, Graphic & rGraphic, FilterConfigItem* )
{
while ( bIsValid && ( nBitsLeft != 7 ) )
{
rStream.ReadChar( nByte );
switch ( nByte )
rStream.ReadChar(nByte);
bIsValid = rStream.good();
if (!bIsValid)
break;
switch (nByte)
{
case 0x0a :
if ( --nScanLines < 0 )
......
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