diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-04-16 10:45:09 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-04-16 10:51:09 +0200 |
commit | 8ec26e211af44a6c8ef1e322c4e3b2d774a9f546 (patch) | |
tree | 7734357451c3cd2aa841bcdcc621e5f74a0c24e8 /svgio | |
parent | cebb4abec105c2576b065853eb48af9be1d9fde6 (diff) |
svgio test: no need to create our own ComponentContext
Change-Id: If8e90c949223a0f11c6b8c6a8ac1cd08ce95a74b
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/qa/cppunit/SvgImportTest.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx index be7493919865..23fcf904e01b 100644 --- a/svgio/qa/cppunit/SvgImportTest.cxx +++ b/svgio/qa/cppunit/SvgImportTest.cxx @@ -29,8 +29,6 @@ using namespace css::graphic; class Test : public test::BootstrapFixture { - Reference<XComponentContext> mxContext; - void testStyles(); Primitive2DSequence parseSvg(const char* aSource); @@ -46,7 +44,7 @@ public: Primitive2DSequence Test::parseSvg(const char* aSource) { - const Reference<XSvgParser> xSvgParser = SvgTools::create(mxContext); + const Reference<XSvgParser> xSvgParser = SvgTools::create(m_xContext); OUString aUrl = getURLFromSrc(aSource); OUString aPath = getPathFromSrc(aSource); @@ -66,8 +64,6 @@ Primitive2DSequence Test::parseSvg(const char* aSource) void Test::setUp() { BootstrapFixture::setUp(); - - mxContext = Reference<XComponentContext>(comphelper::getProcessComponentContext()); } void Test::tearDown() |