summaryrefslogtreecommitdiff
path: root/sw/qa/unit
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-10-05 20:31:45 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-10-06 08:50:20 +0200
commit046eab181e89e6265f06a2d851a339bbef7c3ee5 (patch)
treeb3b7d6fb30ec47d92e62f003637c1b14f1c93506 /sw/qa/unit
parentcca6092c43e6f5ff56251b2fd43e7530b99358e3 (diff)
CppunitTest_sw_ooxmlexport10: avoid DECLARE_OOXMLEXPORT_EXPORTONLY_TEST()
See commit a226cec52e536c46e03f57a5f1f7931abbeb0cdd (CppunitTest_sw_rtfimport: convert one testcase to use CPPUNIT_TEST_FIXTURE(), 2019-11-05) for motivation. Change-Id: I7a1e61775107506b9b05f5ae635f5a0afaca5ffd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123117 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/qa/unit')
-rw-r--r--sw/qa/unit/swmodeltestbase.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/qa/unit/swmodeltestbase.cxx b/sw/qa/unit/swmodeltestbase.cxx
index 00276a2f844d..1cadbdd7aa44 100644
--- a/sw/qa/unit/swmodeltestbase.cxx
+++ b/sw/qa/unit/swmodeltestbase.cxx
@@ -637,6 +637,12 @@ void SwModelTestBase::loadAndSave(const char* pName)
mbExported = true;
}
+void SwModelTestBase::loadAndReload(const char* pName)
+{
+ load(mpTestDocumentPath, pName);
+ reload(mpFilter, pName);
+}
+
void SwModelTestBase::finish()
{
sal_uInt32 nEndTime = osl_getGlobalTimer();