[Libreoffice-commits] core.git: xmloff/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 26 12:35:49 UTC 2020


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

New commits:
commit b23b1b70c5b9b3b8ca699192d3e8b1a76c376524
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Jun 26 13:18:39 2020 +0200
Commit:     Stephan Bergmann <sbergman at 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 <sbergman at 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 ) );
 


More information about the Libreoffice-commits mailing list