summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-11-14 21:34:32 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-11-14 22:42:34 +0100
commit7d750720b667a178b273db4e1f280a756583d74f (patch)
tree090f7e6dba1835abccaa282af876b9352fe422ba /sd
parent022eafa4d69bc8290aa304b69af2c325fe3d2a02 (diff)
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/SVGExportTests.cxx23
1 files changed, 0 insertions, 23 deletions
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/")