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

Stephan Bergmann sbergman at redhat.com
Thu May 12 09:44:38 UTC 2016


 sdext/source/presenter/PresenterTheme.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 94b361b0054dda1896f993e813950c6f120d8d86
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 12 11:44:12 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I5515f35871b23b67564d5eda52bf3323e7e047bb

diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index d230347..8f5ed5f 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -385,7 +385,7 @@ std::shared_ptr<PresenterConfigurationAccess> PresenterTheme::GetNodeForViewStyl
             [&rsStyleName] (OUString const&, uno::Reference<beans::XPropertySet> const& xProps)
             {
                 return PresenterConfigurationAccess::IsStringPropertyEqual(
-                        rsStyleName, OUString("StyleName"), xProps);
+                        rsStyleName, "StyleName", xProps);
             });
     }
     return pConfiguration;


More information about the Libreoffice-commits mailing list