summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-01-17 21:29:27 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-01-17 22:47:52 +0100
commita152699776ecedaa874cf9dc274c5825579880a2 (patch)
tree042a465ecae8bd00e6e07668203fc21a1e4ef0a3 /sw
parent1e877f46c6ce601692e8e229e7c856cd737866c3 (diff)
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@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter3.cxx1
1 files changed, 0 insertions, 1 deletions
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");