From 60b1c95cc47831246f097ee13dda8bcd71c57eb4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Mar 2016 14:14:18 +0100 Subject: Extract Directories from BootstrapFixtureBase (as some tests derive from the latter only for the Directories part, not for the setUp/tearDown overrides: those tests will be cleaned up next) Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f Reviewed-on: https://gerrit.libreoffice.org/23078 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- chart2/qa/extras/charttest.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2') diff --git a/chart2/qa/extras/charttest.hxx b/chart2/qa/extras/charttest.hxx index 21e89feb3b94..874948bd9e4f 100644 --- a/chart2/qa/extras/charttest.hxx +++ b/chart2/qa/extras/charttest.hxx @@ -113,7 +113,7 @@ void ChartTest::load( const OUString& aDir, const OUString& aName ) maServiceName = "com.sun.star.drawing.DrawingDocument"; } - mxComponent = loadFromDesktop(getURLFromSrc(aDir) + aName, maServiceName); + mxComponent = loadFromDesktop(m_directories.getURLFromSrc(aDir) + aName, maServiceName); CPPUNIT_ASSERT(mxComponent.is()); } @@ -414,7 +414,7 @@ std::vector > getDataSeriesLabelsFromChartType( const Re uno::Reference< chart::XChartDocument > ChartTest::getChartDocFromImpress( const char* pDir, const char* pName ) { - mxComponent = loadFromDesktop(getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.comp.Draw.PresentationDocument"); + mxComponent = loadFromDesktop(m_directories.getURLFromSrc(pDir) + OUString::createFromAscii(pName), "com.sun.star.comp.Draw.PresentationDocument"); uno::Reference< drawing::XDrawPagesSupplier > xDoc(mxComponent, uno::UNO_QUERY_THROW ); uno::Reference< drawing::XDrawPage > xPage( xDoc->getDrawPages()->getByIndex(0), uno::UNO_QUERY_THROW ); -- cgit