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 /framework/qa | |
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 'framework/qa')
-rw-r--r-- | framework/qa/cppunit/dispatchtest.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/qa/cppunit/dispatchtest.cxx b/framework/qa/cppunit/dispatchtest.cxx index 7903715e4113..2fa209e82f63 100644 --- a/framework/qa/cppunit/dispatchtest.cxx +++ b/framework/qa/cppunit/dispatchtest.cxx @@ -131,7 +131,6 @@ uno::Reference<frame::XDispatch> MyInterceptor::queryDispatch(const util::URL& r class DispatchTest : public test::BootstrapFixture, public unotest::MacrosTest { protected: - uno::Reference<uno::XComponentContext> mxComponentContext; uno::Reference<lang::XComponent> mxComponent; void dispatchCommand(const uno::Reference<lang::XComponent>& xComponent, const OUString& rCommand, const uno::Sequence<beans::PropertyValue>& rPropertyValues); @@ -144,7 +143,6 @@ void DispatchTest::setUp() { test::BootstrapFixture::setUp(); - mxComponentContext.set(comphelper::getComponentContext(getMultiServiceFactory())); mxDesktop.set(frame::Desktop::create(mxComponentContext)); } |