summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-08 16:51:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-08 18:31:13 +0100
commit50532e3f63421f107e519242e58f03b90fdf3679 (patch)
tree102a56c58a7ca4921af31739c515529d1aba492a /sc/qa
parent25cd2f4bb4459c4195aaaf4ae0c89a61bd47e724 (diff)
enable ODF export validation
Change-Id: I09f517a49507a2eb31118f88f31dc2ff8b03de6a
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/unit/helper/qahelper.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index 320ab5ee1516..776955fc2f47 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -616,6 +616,8 @@ ScDocShellRef ScBootstrapFixture::saveAndReload(
ScDocShellRef xDocSh = load(aTempFile.GetURL(), rFilter, rUserData, rTypeName, nFormatType, nFormat );
if(nFormatType == XLSX_FORMAT_TYPE)
validate(aTempFile.GetFileName(), test::OOXML);
+ else if (nFormatType == ODS_FORMAT_TYPE)
+ validate(aTempFile.GetFileName(), test::ODF);
return xDocSh;
}