diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-05-25 15:40:16 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-05-25 16:49:14 +0200 |
commit | aed48f26fc8acbcc3a1eaf737619ef1f33d3cb29 (patch) | |
tree | 0fe28fc17541d257e4e702b942ad364ea14aeaf1 | |
parent | b0b164e512448cb6e04f05de6e1f1e8221f5f43c (diff) |
Fix identical copypaste errors
Change-Id: Ic3d93c9141fcf407493ebb9b7cfc40d1598368ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152221
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | sw/qa/extras/htmlexport/htmlexport.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
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: <div><p>...</p></div> @@ -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 <li> inside the outer <ol> 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: <nbsp><nbsp><space>first // - Actual : <tab><space>first |