summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-09 14:14:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-10 08:04:40 +0000
commit60b1c95cc47831246f097ee13dda8bcd71c57eb4 (patch)
tree8f8ede597a247c78f3742fa46ba9777b66edb76e /chart2/qa
parent50336412f775af154509d67b1ebbdb4b5feb147b (diff)
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 <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/extras/charttest.hxx4
1 files changed, 2 insertions, 2 deletions
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<uno::Sequence<uno::Any> > 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 );