From 42fcd888ae537152f9d59c03e945d4bf9aaeb7dd Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Tue, 1 Jul 2014 12:20:22 +0200 Subject: [PATCH] coverity#735397 dead code Change-Id: If8d82a39af7a506f42b6c13d8408ffc479b564e7 --- basic/source/classes/sbunoobj.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index ec82700b5afa..1d8dc31c75c7 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4974,7 +4974,6 @@ OUString SbUnoStructRefObject::Impl_DumpProperties() // Is it in Uno a sequence? SbxDataType eType = pVar->GetFullType(); - bool bMaybeVoid = false; OUString aName( pVar->GetName() ); StructFieldInfo::iterator it = maFields.find( aName ); @@ -4991,10 +4990,7 @@ OUString SbUnoStructRefObject::Impl_DumpProperties() } } aPropStr.append( Dbg_SbxDataType2String( eType ) ); - if( bMaybeVoid ) - { - aPropStr.appendAscii( "/void" ); - } + aPropStr.appendAscii( " " ); aPropStr.append( pVar->GetName() );