xmloff/source/draw/animimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b23b1b70c5b9b3b8ca699192d3e8b1a76c376524
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Jun 26 13:18:39 2020 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Jun 26 14:35:09 2020 +0200

    Upcoming improved loplugin:elidestringvar: xmloff
    
    Change-Id: I7425d26955b6083df286fd8b417b2054d4298dbe
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97211
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

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 ) );
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to