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

Stephan Bergmann sbergman at redhat.com
Wed Jun 22 20:14:27 UTC 2016


 svtools/source/uitest/uiobject.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c4077396a6b1ff2c6b2ff40ce3263c884515142b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 22 22:14:03 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I98c383106c8d5874bc8eb3daf05ca3f172d9f41a

diff --git a/svtools/source/uitest/uiobject.cxx b/svtools/source/uitest/uiobject.cxx
index 8af13ff..6156f44 100644
--- a/svtools/source/uitest/uiobject.cxx
+++ b/svtools/source/uitest/uiobject.cxx
@@ -31,7 +31,7 @@ StringMap TreeListUIObject::get_state()
 void TreeListUIObject::execute(const OUString& rAction,
         const StringMap& rParameters)
 {
-    if (rAction == "")
+    if (rAction.isEmpty())
     {
     }
     else


More information about the Libreoffice-commits mailing list