diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-24 11:37:59 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-24 18:05:04 +0200 |
commit | 331a013ee3dffd39c1999ab56f3a18160e76f50a (patch) | |
tree | 8cf5507cb86d90408092d992b9e47da6919e1caf /sd/qa | |
parent | 60b9008d20641b4e454431c148fa8d77c98a75c8 (diff) |
UnoApiTest: factor out common code
Change-Id: Ia8874d65ea8d7eb26d10b18e37ba2bac1a7d756b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141730
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/filter/eppt/eppt.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sd/qa/filter/eppt/eppt.cxx b/sd/qa/filter/eppt/eppt.cxx index b2c304fece59..38ba795dce2d 100644 --- a/sd/qa/filter/eppt/eppt.cxx +++ b/sd/qa/filter/eppt/eppt.cxx @@ -46,9 +46,7 @@ Test::Test() CPPUNIT_TEST_FIXTURE(Test, testOOXMLCustomShapeBitmapFill) { // Save the bugdoc to PPT. - OUString aFileURL; - createFileURL(u"custom-shape-bitmap-fill.pptx", aFileURL); - mxComponent = loadFromDesktop(aFileURL); + loadFromURL(u"custom-shape-bitmap-fill.pptx"); saveAndReload("MS PowerPoint 97"); // Check if the bitmap shape was lost. @@ -99,9 +97,7 @@ CPPUNIT_TEST_FIXTURE(Test, testThemeExport) CPPUNIT_TEST_FIXTURE(Test, testLoopingFromAnimation) { // Given a media shape that has an animation that specifies looping for the video: - OUString aFileURL; - createFileURL(u"video-loop.pptx", aFileURL); - mxComponent = loadFromDesktop(aFileURL); + loadFromURL(u"video-loop.pptx"); // When exporting that to PPTX: utl::TempFileNamed aTempFile = save("Impress Office Open XML"); |