coverity#704291 Logically dead code
Change-Id: Icfdb7178ea89f2a3bd9680cf1b2c017b5058bb83
This commit is contained in:
@@ -2165,7 +2165,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
|
|||||||
DBG_ASSERT( pAtom && pAtom->getType() == DFF_msofbtAnimCommand && xCommand.is(), "invalid call to ppt::AnimationImporter::importCommandContainer()!");
|
DBG_ASSERT( pAtom && pAtom->getType() == DFF_msofbtAnimCommand && xCommand.is(), "invalid call to ppt::AnimationImporter::importCommandContainer()!");
|
||||||
if( pAtom && xCommand.is() )
|
if( pAtom && xCommand.is() )
|
||||||
{
|
{
|
||||||
sal_Int32 nBits = 0, nType = 0;
|
sal_Int32 nBits = 0;
|
||||||
Any aValue;
|
Any aValue;
|
||||||
|
|
||||||
const Atom* pChildAtom = pAtom->findFirstChildAtom();
|
const Atom* pChildAtom = pAtom->findFirstChildAtom();
|
||||||
@@ -2230,10 +2230,6 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
|
|||||||
|
|
||||||
NamedValue aParamValue;
|
NamedValue aParamValue;
|
||||||
|
|
||||||
switch( nType )
|
|
||||||
{
|
|
||||||
case 0: // event
|
|
||||||
case 1: // call
|
|
||||||
if ( aParam == "onstopaudio" )
|
if ( aParam == "onstopaudio" )
|
||||||
{
|
{
|
||||||
nCommand = EffectCommands::STOPAUDIO;
|
nCommand = EffectCommands::STOPAUDIO;
|
||||||
@@ -2262,16 +2258,6 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
|
|||||||
{
|
{
|
||||||
nCommand = EffectCommands::STOP;
|
nCommand = EffectCommands::STOP;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case 2: // verb
|
|
||||||
{
|
|
||||||
aParamValue.Name = "Verb";
|
|
||||||
aParamValue.Value <<= aParam.toInt32();
|
|
||||||
|
|
||||||
nCommand = EffectCommands::VERB;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
xCommand->setCommand( nCommand );
|
xCommand->setCommand( nCommand );
|
||||||
if( nCommand == EffectCommands::CUSTOM )
|
if( nCommand == EffectCommands::CUSTOM )
|
||||||
|
Reference in New Issue
Block a user