summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes/animationcommandnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/animationnodes/animationcommandnode.cxx')
-rw-r--r--slideshow/source/engine/animationnodes/animationcommandnode.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/slideshow/source/engine/animationnodes/animationcommandnode.cxx b/slideshow/source/engine/animationnodes/animationcommandnode.cxx
index b01ca3009e0e..40cdef517b55 100644
--- a/slideshow/source/engine/animationnodes/animationcommandnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationcommandnode.cxx
@@ -80,9 +80,7 @@ void AnimationCommandNode::activate_st()
{
double fMediaTime=0.0;
beans::PropertyValue aMediaTime;
- if( (mxCommandNode->getParameter() >>= aMediaTime) &&
- aMediaTime.Name.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM("MediaTime") ))
+ if( (mxCommandNode->getParameter() >>= aMediaTime) && aMediaTime.Name == "MediaTime" )
{
aMediaTime.Value >>= fMediaTime;
}