[Libreoffice-commits] core.git: sw/qa

Xisco Fauli (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 17 21:48:38 UTC 2021


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

New commits:
commit a152699776ecedaa874cf9dc274c5825579880a2
Author:     Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sun Jan 17 21:29:27 2021 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Sun Jan 17 22:47:52 2021 +0100

    sw_uiwriter3: remove redundant call to clear
    
    See https://gerrit.libreoffice.org/c/core/+/109458
    Kudos to Mike Kaganski for pointing this out
    
    Change-Id: I1daa919ffcdc8b7a382ebf04470d957500dcfad9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109483
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/sw/qa/extras/uiwriter/uiwriter3.cxx b/sw/qa/extras/uiwriter/uiwriter3.cxx
index 75df4291e78f..e7eeee81d266 100644
--- a/sw/qa/extras/uiwriter/uiwriter3.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter3.cxx
@@ -1506,7 +1506,6 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest3, testTdf134626)
     TransferableDataHelper aHelper(xTransfer.get());
 
     mxComponent->dispose();
-    mxComponent.clear();
 
     // Create a new document
     mxComponent = loadFromDesktop("private:factory/swriter", "com.sun.star.text.TextDocument");


More information about the Libreoffice-commits mailing list