diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-02-06 21:05:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-02-07 09:13:50 +0100 |
commit | 75a7932bb4e5732467eb976046d6d9aab5d20640 (patch) | |
tree | feff53d298a357d4f6b7d2f98d2a4988a1ebaaff /xmlsecurity/qa/unit/pdfsigning | |
parent | 3fd32d48bf7d59175c59a224cf7a481eee5c158a (diff) |
test: move component context from subclasses to BootstrapFixture
To avoid duplication.
Change-Id: I0ee7c26d5d55bd868ead04c77e7f4ef2582f90e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88138
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmlsecurity/qa/unit/pdfsigning')
-rw-r--r-- | xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx index 97e0b7d28f97..7e61e7dc2c87 100644 --- a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx +++ b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx @@ -39,8 +39,6 @@ char const DATA_DIRECTORY[] = "/xmlsecurity/qa/unit/pdfsigning/data/"; class PDFSigningTest : public test::BootstrapFixture { protected: - uno::Reference<uno::XComponentContext> mxComponentContext; - /** * Sign rInURL once and save the result as rOutURL, asserting that rInURL * had nOriginalSignatureCount signatures. @@ -64,8 +62,6 @@ void PDFSigningTest::setUp() { test::BootstrapFixture::setUp(); - mxComponentContext.set(comphelper::getComponentContext(getMultiServiceFactory())); - #ifndef _WIN32 // Set up cert8.db and key3.db in workdir/CppunitTest/ OUString aSourceDir = m_directories.getURLFromSrc(DATA_DIRECTORY); |