summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-07-02 11:18:04 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-07-02 15:35:00 +0200
commit83a8d5a275e9ba636a133ff25bdb53974aae87ae (patch)
treec6a77d602a23323d818ddb3c2ae11621c11c34d9 /writerperfect
parent49e3ebcaa1ff06e9ae35ba4117e2465e447cee78 (diff)
BootstrapFixture: get rid of mxComponentContext
Change-Id: I0318485c3c0159277e47096e0c7e0df8ed109ea4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169865 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/qa/unit/EPUBExportTest.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx
index cb38c64e4d21..98471c607a03 100644
--- a/writerperfect/qa/unit/EPUBExportTest.cxx
+++ b/writerperfect/qa/unit/EPUBExportTest.cxx
@@ -77,8 +77,7 @@ void EPUBExportTest::createDoc(std::u16string_view rFile,
else
aMediaDescriptor[u"FilterOptions"_ustr] <<= maFilterOptions;
xStorable->storeToURL(maTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList());
- mxZipFile
- = packages::zip::ZipFileAccess::createWithURL(mxComponentContext, maTempFile.GetURL());
+ mxZipFile = packages::zip::ZipFileAccess::createWithURL(m_xContext, maTempFile.GetURL());
}
std::map<OUString, std::vector<OUString>> EPUBExportTest::parseCss(const OUString& rName)
@@ -165,7 +164,7 @@ CPPUNIT_TEST_FIXTURE(EPUBExportTest, testMimetype)
mpXmlDoc, "/opf:package/opf:metadata/opf:meta[@name='generator']"_ostr, "content"_ostr);
CPPUNIT_ASSERT(aGenerator.startsWith(utl::DocInfoHelper::GetGeneratorString()));
- uno::Reference<lang::XMultiServiceFactory> xMSF(mxComponentContext->getServiceManager(),
+ uno::Reference<lang::XMultiServiceFactory> xMSF(m_xContext->getServiceManager(),
uno::UNO_QUERY);
constexpr OUString aServiceName(u"com.sun.star.comp.Writer.EPUBExportFilter"_ustr);
uno::Reference<document::XFilter> xFilter(xMSF->createInstance(aServiceName), uno::UNO_QUERY);