diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-04 05:26:20 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-04 15:59:58 +0200 |
commit | 597189f481ddd1a5724d7af75362053f4b5cd9c8 (patch) | |
tree | fd2c2f70d65e7df87f2ac4d985182424d801ab16 /sd/qa | |
parent | f4dca0bfa53c717f6fafddf8fbf699ca7372180a (diff) |
enable ODP export validation in sd export test
Change-Id: I849d2f0d8631cfb91326d80e554c9ce55940abd8
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/sdmodeltestbase.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index 636bd0d01f67..8c1eac7b96ba 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -179,6 +179,14 @@ protected: utl::TempFile aTempFile(OUString(), true, &aExt); aTempFile.EnableKillingFile(); save(pShell, pFormat, aTempFile); + if(nExportType == ODP) + { + BootstrapFixture::validate(aTempFile.GetURL(), test::ODF); + } + else if(nExportType == PPTX) + { + // BootstrapFixture::validate(aTempFile.GetURL(), test::OOXML); + } return loadURL(aTempFile.GetURL()); } |