summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--idl/source/prj/database.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/idl/source/prj/database.cxx b/idl/source/prj/database.cxx
index e647b964a502..b6539fcd197a 100644
--- a/idl/source/prj/database.cxx
+++ b/idl/source/prj/database.cxx
@@ -487,8 +487,7 @@ bool SvIdlWorkingBase::ReadSvIdl( SvTokenStream & rInStm, bool bImported, const
if( pTok->Is( SvHash_import() ) )
{
rInStm.GetToken_Next();
- bOk = rInStm.Read( '(' ); // optional
- pTok = bOk ? rInStm.GetToken_Next() : nullptr;
+ pTok = rInStm.GetToken_Next();
if( pTok && pTok->IsString() )
{
OUString aFullName;