summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
Diffstat (limited to 'idl')
-rw-r--r--idl/source/prj/parser.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/idl/source/prj/parser.cxx b/idl/source/prj/parser.cxx
index 4bb0320b0f36..db594ab43bd0 100644
--- a/idl/source/prj/parser.cxx
+++ b/idl/source/prj/parser.cxx
@@ -55,18 +55,12 @@ bool SvIdlParser::ReadSvIdl( SvIdlDataBase& rBase, SvTokenStream & rInStm, bool
bOk = false;
}
- sal_uInt32 nBeginPos = 0xFFFFFFFF; // can not happen with Tell
-
- while( bOk && nBeginPos != rInStm.Tell() )
+ while( bOk )
{
- nBeginPos = rInStm.Tell();
pTok = &rInStm.GetToken();
if( pTok->IsEof() )
return true;
- if( pTok->IsEmpty() )
- bOk = false;
- // only one import at the very beginning
if( pTok->Is( SvHash_module() ) )
{
tools::SvRef<SvMetaModule> aModule = new SvMetaModule( bImported );