summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-26 13:18:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-26 14:35:09 +0200
commitb23b1b70c5b9b3b8ca699192d3e8b1a76c376524 (patch)
tree0c9e238b6544a099ba4f01aa0b2fed677a5294e4
parent5aec81b35ceb663bce528d245ef40b8b4217232d (diff)
Upcoming improved loplugin:elidestringvar: xmloff
Change-Id: I7425d26955b6083df286fd8b417b2054d4298dbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97211 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--xmloff/source/draw/animimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/animimp.cxx b/xmloff/source/draw/animimp.cxx
index 3ec2abca723f..ea8022e61fcc 100644
--- a/xmloff/source/draw/animimp.cxx
+++ b/xmloff/source/draw/animimp.cxx
@@ -550,7 +550,7 @@ void XMLAnimationsEffectContext::endFastElement(sal_Int32 )
{
const AnimationEffect eEffect = ImplSdXMLgetEffect( meEffect, meDirection, mnStartScale, meKind == XMLE_SHOW );
- OUString s = mbTextEffect ? gsTextEffect : gsEffect;
+ auto const s = mbTextEffect ? gsTextEffect : gsEffect;
xSet->setPropertyValue( s, makeAny( eEffect ) );
xSet->setPropertyValue( gsSpeed, makeAny( meSpeed ) );