From aed48f26fc8acbcc3a1eaf737619ef1f33d3cb29 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 25 May 2023 15:40:16 +0200 Subject: Fix identical copypaste errors Change-Id: Ic3d93c9141fcf407493ebb9b7cfc40d1598368ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152221 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- sw/qa/extras/htmlexport/htmlexport.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sw') diff --git a/sw/qa/extras/htmlexport/htmlexport.cxx b/sw/qa/extras/htmlexport/htmlexport.cxx index 18bfa2ea6496..710c4c0dc45c 100644 --- a/sw/qa/extras/htmlexport/htmlexport.cxx +++ b/sw/qa/extras/htmlexport/htmlexport.cxx @@ -1419,7 +1419,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testMultiParaListItem) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); assertXPathContent(pXmlDoc, "//reqif-xhtml:ol/reqif-xhtml:li[1]/reqif-xhtml:p", "A"); assertXPathContent(pXmlDoc, "//reqif-xhtml:ol/reqif-xhtml:li[2]/reqif-xhtml:p[1]", "B"); // Without the accompanying fix in place, this test would have failed with: @@ -1549,7 +1549,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testListHeading) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); // Without the accompanying fix in place, this test would have failed: // - expected:

...

@@ -2149,7 +2149,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testListsHeading) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); // Without the accompanying fix in place, this test would have failed with: // - In <>, XPath '/reqif-xhtml:html/reqif-xhtml:div/reqif-xhtml:p' not found @@ -2209,7 +2209,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testNestedBullets) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); // Without the accompanying fix in place, this test would have failed with: // - XPath '//reqif-xhtml:ol/reqif-xhtml:li/reqif-xhtml:ol/reqif-xhtml:li/reqif-xhtml:p' not found // i.e. the
  • inside the outer
      was missing. @@ -2233,7 +2233,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testTrailingLineBreak) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); // Without the accompanying fix in place, this test would have failed with: // - Expected: 1 // - Actual : 2 @@ -2284,7 +2284,7 @@ CPPUNIT_TEST_FIXTURE(SwHtmlDomExportTest, testLeadingTab) SvMemoryStream aStream; WrapReqifFromTempFile(aStream); xmlDocUniquePtr pXmlDoc = parseXmlStream(&aStream); - CPPUNIT_ASSERT(pDoc); + CPPUNIT_ASSERT(pXmlDoc); // Without the accompanying fix in place, this test would have failed with: // - Expected: first // - Actual : first -- cgit