From 3cacdf5b0f1a6285370d5b06ddec9bce770ea603 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 29 Jan 2019 13:40:21 +0100 Subject: sc: fix CppunitTest_sc_ddelinkobj to copy its test document XRefreshable::testRefreshListener() fails on read-only filesystem because the ScDDELinksObj.ods cannot be loaded read-write. It is loaded read-write since commit 5b2794e27a81f8078cc251580ca59cc47807c7a0. Change-Id: I27b954b216acd3d138ade0d3f1b21fedd2f74fb1 Reviewed-on: https://gerrit.libreoffice.org/67071 Tested-by: Jenkins Reviewed-by: Michael Stahl --- test/source/sheet/xddelink.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/source/sheet/xddelink.cxx') diff --git a/test/source/sheet/xddelink.cxx b/test/source/sheet/xddelink.cxx index b166275d5367..4227c3b4c9a4 100644 --- a/test/source/sheet/xddelink.cxx +++ b/test/source/sheet/xddelink.cxx @@ -37,8 +37,7 @@ void XDDELink::testGetTopic() { uno::Reference xLink(init(), UNO_QUERY_THROW); - CPPUNIT_ASSERT_MESSAGE("Unable to execute getTopic()", - xLink->getTopic().endsWith("ScDDELinksObj.ods")); + CPPUNIT_ASSERT_EQUAL_MESSAGE("Unable to execute getTopic()", m_URL, xLink->getTopic()); } } // namespace apitest -- cgit