From 88be7d32f30b08da4399f6d67d8d494dcfcc34b5 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 12 Feb 2013 16:31:21 +0100 Subject: Simplify this Change-Id: I341f4a74062e78f6a4d23ca24d635c6a95fb90cb --- idl/source/objects/module.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/idl/source/objects/module.cxx b/idl/source/objects/module.cxx index 43a6869efa65..4b975104836b 100644 --- a/idl/source/objects/module.cxx +++ b/idl/source/objects/module.cxx @@ -319,8 +319,7 @@ sal_Bool SvMetaModule::ReadSvIdl( SvIdlDataBase & rBase, SvTokenStream & rInStm sal_uInt32 nTokPos = rInStm.Tell(); SvToken * pTok = rInStm.GetToken_Next(); - sal_Bool bOk = sal_False; - bOk = pTok->Is( SvHash_module() ); + sal_Bool bOk = pTok->Is( SvHash_module() ); if( bOk ) { pTok = rInStm.GetToken_Next(); -- cgit