[Libreoffice-commits] core.git: sw/qa

Noel Grandin noel at peralex.com
Thu Apr 28 07:58:33 UTC 2016


 sw/qa/extras/ww8export/ww8export.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7d6308dad9f4a079d57719a6e3a9c4cebb47d051
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Apr 28 09:42:41 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I780775ed5fa516d10c787ac2e11a034a7fc7da9c

diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 0d59e31..24023a4 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -707,7 +707,7 @@ DECLARE_WW8EXPORT_TEST(testTdf99474, "tdf99474.odt")
     for(int j = 0 ; j< aPropertyValues.getLength() ; ++j)
     {
         auto aProp = aPropertyValues[j];
-        if (aProp.Name == OUString("CharStyleName")) {
+        if (aProp.Name == "CharStyleName") {
             charStyleName = aProp.Value.get<OUString>();
             break;
         }


More information about the Libreoffice-commits mailing list