[Libreoffice-commits] core.git: svgio/qa
Tomaž Vajngerl
tomaz.vajngerl at collabora.com
Wed Apr 16 01:52:32 PDT 2014
svgio/qa/cppunit/SvgImportTest.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 8ec26e211af44a6c8ef1e322c4e3b2d774a9f546
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date: Wed Apr 16 10:45:09 2014 +0200
svgio test: no need to create our own ComponentContext
Change-Id: If8e90c949223a0f11c6b8c6a8ac1cd08ce95a74b
diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx
index be74939..23fcf90 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()
More information about the Libreoffice-commits
mailing list