sw/qa/extras/uiwriter/uiwriter.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 517df06183508742ae1f3640b28af65fc0069b79
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Thu Mar 14 13:13:36 2024 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Mar 14 13:14:27 2024 +0100

    sw: oops, forgot to commit test changes
    
    Change-Id: I8cde7ee17d1e717bf2228affe6f88d3461e4b5b3

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx 
b/sw/qa/extras/uiwriter/uiwriter.cxx
index c3b5c0d98dac..d1b117f6a467 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -813,7 +813,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
         SwDoc * pDoc(createDoc("pagebreak-source.fodt"));
 
         SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
-        CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+        CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 
         pWrtShell->SelAll();
 
@@ -833,7 +833,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
     CPPUNIT_ASSERT_EQUAL(OUString("WithMargin"), 
getProperty<OUString>(getParagraph(1), "PageDescName"));
     CPPUNIT_ASSERT_EQUAL(OUString("TargetSection"), 
pWrtShell->GetCurrSection()->GetSectionName());
     // page style WithMargin is used
-    CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+    CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 
     //paste not working in this branch? lcl_dispatchCommand(mxComponent, 
".uno:Paste", {});
     TransferableDataHelper aHelper(pTransfer.get());
@@ -846,7 +846,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
     // the problem was that there was a page break now
     CPPUNIT_ASSERT_EQUAL(1, getPages());
     // page style WithMargin is used
-    CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+    CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 
     pWrtShell->Undo();
     CPPUNIT_ASSERT_EQUAL(1, getParagraphs());
@@ -854,7 +854,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
     CPPUNIT_ASSERT_EQUAL(OUString("TargetSection"), 
pWrtShell->GetCurrSection()->GetSectionName());
     CPPUNIT_ASSERT_EQUAL(1, getPages());
     // page style WithMargin is used
-    CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+    CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 
     pWrtShell->Redo();
     CPPUNIT_ASSERT_EQUAL(2, getParagraphs());
@@ -863,7 +863,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
     CPPUNIT_ASSERT_EQUAL(OUString("SourceSection"), 
pWrtShell->GetCurrSection()->GetSectionName());
     CPPUNIT_ASSERT_EQUAL(1, getPages());
     // page style WithMargin is used
-    CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+    CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 
     pWrtShell->Undo();
     CPPUNIT_ASSERT_EQUAL(1, getParagraphs());
@@ -871,7 +871,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testCopyPastePageBreak)
     CPPUNIT_ASSERT_EQUAL(OUString("TargetSection"), 
pWrtShell->GetCurrSection()->GetSectionName());
     CPPUNIT_ASSERT_EQUAL(1, getPages());
     // page style WithMargin is used
-    CPPUNIT_ASSERT_EQUAL(tools::Long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
+    CPPUNIT_ASSERT_EQUAL(long(5669), 
pWrtShell->GetLayout()->GetLower()->getFramePrintArea().Top());
 }
 
 void SwUiWriterTest::testBookmarkCopy()

Reply via email to