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 /embeddedobj | |
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 'embeddedobj')
-rw-r--r-- | embeddedobj/qa/cppunit/general.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embeddedobj/qa/cppunit/general.cxx b/embeddedobj/qa/cppunit/general.cxx index ba862d3a86f0..c49462a9f2a1 100644 --- a/embeddedobj/qa/cppunit/general.cxx +++ b/embeddedobj/qa/cppunit/general.cxx @@ -26,7 +26,6 @@ using namespace ::com::sun::star; class EmbeddedobjGeneralTest : public test::BootstrapFixture, public unotest::MacrosTest { private: - uno::Reference<uno::XComponentContext> mxComponentContext; uno::Reference<lang::XComponent> mxComponent; public: @@ -39,7 +38,6 @@ void EmbeddedobjGeneralTest::setUp() { test::BootstrapFixture::setUp(); - mxComponentContext.set(comphelper::getComponentContext(getMultiServiceFactory())); mxDesktop.set(frame::Desktop::create(mxComponentContext)); } |