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

Stephan Bergmann sbergman at redhat.com
Sun May 10 04:39:05 PDT 2015


 sc/qa/unit/subsequent_export-test.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 336bc33a5a46e89ea35cefa75997edde2363c8fc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun May 10 13:38:41 2015 +0200

    loplugin:stringconstant
    
    Change-Id: Ic20debae78db9bae77986954dd5838e3ae360825

diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index 4256253..42d8b42 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -2608,7 +2608,7 @@ void ScExportTest::testTextUnderlineColor()
     OUString color = getXPath(pDoc,
             "/xdr:wsDr/xdr:twoCellAnchor/xdr:sp[1]/xdr:txBody/a:p[1]/a:r[1]/a:rPr/a:uFill/a:solidFill/a:srgbClr", "val");
     // make sure that the underline color is RED
-    CPPUNIT_ASSERT(color.equals("ff0000"));
+    CPPUNIT_ASSERT_EQUAL(OUString("ff0000"), color);
 }
 
 


More information about the Libreoffice-commits mailing list