Kaydet (Commit) 23382371 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bIsSetType is never read

Change-Id: Ic65f51fa1d10027a0299ee67e162ce51c57b2530
üst aeb1e8fd
......@@ -76,7 +76,6 @@ bool SvxGalleryItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /* nMemberId
int nConverted(0);
bool bAllConverted( true );
sal_Bool bIsSetType( sal_False );
sal_Int8 nType(0);
rtl::OUString aURL, aFilterName;
......@@ -89,7 +88,7 @@ bool SvxGalleryItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /* nMemberId
{
if ( pProp->Name == SVXGALLERYITEM_TYPE )
{
bAllConverted &= bIsSetType = ( pProp->Value >>= nType );
bAllConverted &= ( pProp->Value >>= nType );
++nConverted;
}
else if ( pProp->Name == SVXGALLERYITEM_URL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment