summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/pptinanimations.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/ppt/pptinanimations.cxx')
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index e5e1f1d57ead..dcdfbd64455b 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -772,12 +772,12 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >&
sal_Int32 nMasterRel = 0;
for( ; nLength--; pValue++ )
{
- if( pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("after-effect") ) )
+ if ( pValue->Name == "after-effect" )
{
pValue->Value >>= bAfterEffect;
nRemoved++;
}
- else if( pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("master-rel") ) )
+ else if ( pValue->Name == "master-rel" )
{
pValue->Value >>= nMasterRel;
nRemoved++;
@@ -2226,7 +2226,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
{
nCommand = EffectCommands::STOPAUDIO;
}
- else if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("play") ) )
+ else if ( aParam == "play" )
{
nCommand = EffectCommands::PLAY;
}
@@ -2242,11 +2242,11 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
}
nCommand = EffectCommands::PLAY;
}
- else if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("togglePause") ) )
+ else if ( aParam == "togglePause" )
{
nCommand = EffectCommands::TOGGLEPAUSE;
}
- else if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("stop") ) )
+ else if ( aParam == "stop" )
{
nCommand = EffectCommands::STOP;
}