dev/null |binary sc/qa/unit/uicalc/uicalc.cxx | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-)
New commits: commit 9edd1b74edc222650d19b9feff6e40c3cfbfa477 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Fri Apr 3 11:03:05 2020 +0200 Commit: Xisco FaulĂ <xiscofa...@libreoffice.org> CommitDate: Fri Apr 3 12:13:42 2020 +0200 uicalc: no need to use an empty document Change-Id: Id1c42b7c4f0f406d2979334d7b71fc20d7ff8620 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91615 Tested-by: Jenkins Reviewed-by: Xisco FaulĂ <xiscofa...@libreoffice.org> diff --git a/sc/qa/unit/uicalc/data/empty.ods b/sc/qa/unit/uicalc/data/empty.ods deleted file mode 100644 index 0c797725af28..000000000000 Binary files a/sc/qa/unit/uicalc/data/empty.ods and /dev/null differ diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx index 222849673095..694644b77df3 100644 --- a/sc/qa/unit/uicalc/uicalc.cxx +++ b/sc/qa/unit/uicalc/uicalc.cxx @@ -151,7 +151,9 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf124815) CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf83901) { - ScModelObj* pModelObj = createDoc("empty.ods"); + mxComponent = loadFromDesktop("private:factory/scalc"); + ScModelObj* pModelObj = dynamic_cast<ScModelObj*>(mxComponent.get()); + CPPUNIT_ASSERT(pModelObj); ScDocument* pDoc = pModelObj->GetDocument(); CPPUNIT_ASSERT(pDoc); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits