summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-02-06 21:05:42 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-02-07 09:13:50 +0100
commit75a7932bb4e5732467eb976046d6d9aab5d20640 (patch)
treefeff53d298a357d4f6b7d2f98d2a4988a1ebaaff /svx
parent3fd32d48bf7d59175c59a224cf7a481eee5c158a (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 'svx')
-rw-r--r--svx/qa/unit/unodraw.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/svx/qa/unit/unodraw.cxx b/svx/qa/unit/unodraw.cxx
index 6d3f23175b74..a835dee951bd 100644
--- a/svx/qa/unit/unodraw.cxx
+++ b/svx/qa/unit/unodraw.cxx
@@ -33,7 +33,6 @@ char const DATA_DIRECTORY[] = "/svx/qa/unit/data/";
class UnodrawTest : public test::BootstrapFixture, public unotest::MacrosTest
{
protected:
- uno::Reference<uno::XComponentContext> mxComponentContext;
uno::Reference<lang::XComponent> mxComponent;
public:
@@ -45,7 +44,6 @@ void UnodrawTest::setUp()
{
test::BootstrapFixture::setUp();
- mxComponentContext.set(comphelper::getComponentContext(getMultiServiceFactory()));
mxDesktop.set(frame::Desktop::create(mxComponentContext));
}