coverity#1103651 Unchecked return value

Change-Id: Iee2bbba1e581364f72a73421ba8e799fa05a94e4
This commit is contained in:
Caolán McNamara 2014-03-10 09:45:06 +00:00
parent 525c539ac9
commit 2be3417bf6

View File

@ -624,9 +624,9 @@ sal_Bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, sal_Bool bImported
if( pTok->Is( SvHash_import() ) )
{
rInStm.GetToken_Next();
rInStm.Read( '(' ); // optional
pTok = rInStm.GetToken_Next();
if( pTok->IsString() )
bOk = rInStm.Read( '(' ); // optional
pTok = bOk ? rInStm.GetToken_Next() : NULL;
if( pTok && pTok->IsString() )
{
OUString aFullName;
if( osl::FileBase::E_None == osl::File::searchFileURL(