sd/qa/unit/SVGExportTests.cxx | 23 ----------------------- 1 file changed, 23 deletions(-)
New commits: commit 7d750720b667a178b273db4e1f280a756583d74f Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Nov 14 21:34:32 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Nov 14 22:42:34 2022 +0100 CppunitTest_sd_svg_export_tests: remove duplicated code This class is already in macros_test.hxx Change-Id: I1c5705fd6feceabe3cc29527af10c7f4e9e1f39f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142720 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sd/qa/unit/SVGExportTests.cxx b/sd/qa/unit/SVGExportTests.cxx index 220d1eb0f5f9..2972465e59fc 100644 --- a/sd/qa/unit/SVGExportTests.cxx +++ b/sd/qa/unit/SVGExportTests.cxx @@ -72,29 +72,6 @@ bool isValidTiledBackgroundId(const OUString& sId) class SdSVGFilterTest : public UnoApiXmlTest { - class Resetter - { - private: - std::function<void ()> m_Func; - - public: - Resetter(std::function<void ()> const& rFunc) - : m_Func(rFunc) - { - } - ~Resetter() - { - try - { - m_Func(); - } - catch (...) // has to be reliable - { - CPPUNIT_FAIL("resetter failed with exception"); - } - } - }; - public: SdSVGFilterTest() : UnoApiXmlTest("/sd/qa/unit/data/odp/")