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

Stephan Bergmann sbergman at redhat.com
Thu Aug 13 01:47:09 PDT 2015


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

New commits:
commit 63e1890675ecaaf50d855a1daf85fc41798bb898
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 13 10:46:22 2015 +0200

    loplugin:stringconstant
    
    Change-Id: I2444c480d5bd1aca814bdf1159f8857fcaa85830

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 2230c76..d59f3b3 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -2189,7 +2189,7 @@ void SwUiWriterTest::testUnicodeNotationToggle()
 
     pWrtShell->EndPara();
     sOriginalDocString = pWrtShell->GetCrsr()->GetNode().GetTextNode()->GetText();
-    CPPUNIT_ASSERT( sOriginalDocString.equals("uU+2b") );
+    CPPUNIT_ASSERT_EQUAL(OUString("uU+2b"), sOriginalDocString);
 
     lcl_dispatchCommand(mxComponent, ".uno:UnicodeNotationToggle", aPropertyValues);
     sExpectedString = "u+";


More information about the Libreoffice-commits mailing list