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

New commits:
commit 6359969e230af2569bb68e75ecfd85d43f95e20b
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Oct 18 21:25:13 2023 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Oct 19 09:33:37 2023 +0200

    Presumed loplugin:cppunitassertequals
    
    Change-Id: I8acd32ff2cf3bd1b72136fd40e93ce047909f677
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158138
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index 6875d63073d7..b64c67402c8d 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -762,7 +762,7 @@ void SwDocTest::testSwScanner()
         aPaM.GetPoint()->nContent.Assign(aPaM.GetPointContentNode(), 5);   
//set end of selection to fifth char of current node
         m_pDoc->getIDocumentContentOperations().DeleteAndJoin(aPaM);    
//redline-aware deletion api
         //"real underlying text should be the same"
-        CPPUNIT_ASSERT_EQUAL(pTextNode->GetText(), OUString(aString));
+        CPPUNIT_ASSERT_EQUAL(OUString(aString), pTextNode->GetText());
 
         aDocStat.Reset();
         pTextNode->SetWordCountDirty(true);

Reply via email to