summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-10-26 19:30:15 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-10-26 21:38:56 +0200
commitbdb76c9ff1832041fa7a9bda30e8d4d7d937ff94 (patch)
tree46eb33973cbd1fd1d314f65d05e3d627295b35f0 /test
parent5e43ccb27584d98699e2b2e06658d5b52ebcdff7 (diff)
CppunitTest_sc_jumbosheets_test: inherit from UnoApiTest
Split a couple of tests into 2, one for ods and the other for xlsx Change-Id: I9f6f908b150c435933739335f6618d335ce8f9a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141889 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r--test/source/unoapi_test.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index 0a04e46fd831..476e7eeae1de 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -127,11 +127,13 @@ utl::TempFileNamed UnoApiTest::saveAndClose(const OUString& rFilter)
return aTempFile;
}
-void UnoApiTest::saveAndReload(const OUString& rFilter)
+utl::TempFileNamed UnoApiTest::saveAndReload(const OUString& rFilter)
{
utl::TempFileNamed aTempFile = saveAndClose(rFilter);
mxComponent = loadFromDesktop(aTempFile.GetURL());
+
+ return aTempFile;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */