summaryrefslogtreecommitdiff
path: root/sc/qa/extras/regression-test.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-02-05 14:38:43 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-02-05 14:40:58 -0500
commit7d3ddc2c6cc39fdd671f08059528464675cd6ecc (patch)
treeb5e941937065d769dc9bdaa0ce144d1f91585360 /sc/qa/extras/regression-test.cxx
parenta0dd5a8d6a9213ad40d738f8639e1500a1b59caa (diff)
Pass DocumentService to the loader during macro tests.
And disable user interaction during type detection, since that would cause the test to fail. With this change, 'make check' works once again. Change-Id: I2f45a2e962e45ee64f7984e794cff814fbfe6dab
Diffstat (limited to 'sc/qa/extras/regression-test.cxx')
-rw-r--r--sc/qa/extras/regression-test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/regression-test.cxx b/sc/qa/extras/regression-test.cxx
index 5658618ba0d9..174debde8160 100644
--- a/sc/qa/extras/regression-test.cxx
+++ b/sc/qa/extras/regression-test.cxx
@@ -114,7 +114,7 @@ void ScChartRegressionTest::test()
{
rtl::OUString aFileName;
createFileURL( "testChart.", "ods", aFileName);
- uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName);
+ uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName, "com.sun.star.sheet.SpreadsheetDocument");
CPPUNIT_ASSERT(xComponent.is());