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

New commits:
commit 49b616608d59de485faa01fa6d5989e1876e8de2
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Jan 26 14:33:39 2023 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Jan 26 14:47:15 2023 +0000

    sw: no need to create the document twice
    
    Change-Id: I566fde00f414b9b983770256697ff2a6f3cf1781
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146175
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx 
b/sw/qa/extras/uiwriter/uiwriter.cxx
index 9ee8a1e7ceab..3fb7db44d2ea 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -1549,7 +1549,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testFdo87448)
 
 CPPUNIT_TEST_FIXTURE(SwUiWriterTest, testTextCursorInvalidation)
 {
-    createSwDoc();
     createSwDoc();
     SwDoc* pDoc = getSwDoc();
     SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();

Reply via email to