summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-08-07 21:53:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-08-08 12:36:13 +0200
commit393c3930c8cedb2fcf380539c57d8da5cfb31572 (patch)
treea4a36a305201e07f2d135511f61f88462ebf6a16 /xmlsecurity
parent358bdc5eb38a6a7c310027f4a10694230b848b7f (diff)
Remove dead code
mxComponent is known to be null at the start of a test function Change-Id: Ifb3b7dd33769ef71d980fb110eab2dceb03bc52c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100370 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/qa/unit/signing/signing2.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing2.cxx b/xmlsecurity/qa/unit/signing/signing2.cxx
index 2430840499ac..ea88982b9be8 100644
--- a/xmlsecurity/qa/unit/signing/signing2.cxx
+++ b/xmlsecurity/qa/unit/signing/signing2.cxx
@@ -81,8 +81,6 @@ CPPUNIT_TEST_FIXTURE(SigningTest2, testPreserveMacroSignatureODB)
const OUString sLoadMessage = "loading failed: " + aURL;
// load the file
- if (mxComponent.is())
- mxComponent->dispose();
mxComponent = loadFromDesktop(aURL, "com.sun.star.sdb.OfficeDatabaseDocument");
CPPUNIT_ASSERT_MESSAGE(OUStringToOString(sLoadMessage, RTL_TEXTENCODING_UTF8).getStr(),
mxComponent.is());