coverity#1103651 Unchecked return value
Change-Id: Iee2bbba1e581364f72a73421ba8e799fa05a94e4
This commit is contained in:
parent
525c539ac9
commit
2be3417bf6
@ -624,9 +624,9 @@ sal_Bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, sal_Bool bImported
|
|||||||
if( pTok->Is( SvHash_import() ) )
|
if( pTok->Is( SvHash_import() ) )
|
||||||
{
|
{
|
||||||
rInStm.GetToken_Next();
|
rInStm.GetToken_Next();
|
||||||
rInStm.Read( '(' ); // optional
|
bOk = rInStm.Read( '(' ); // optional
|
||||||
pTok = rInStm.GetToken_Next();
|
pTok = bOk ? rInStm.GetToken_Next() : NULL;
|
||||||
if( pTok->IsString() )
|
if( pTok && pTok->IsString() )
|
||||||
{
|
{
|
||||||
OUString aFullName;
|
OUString aFullName;
|
||||||
if( osl::FileBase::E_None == osl::File::searchFileURL(
|
if( osl::FileBase::E_None == osl::File::searchFileURL(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user