Drop MacrosTest::Resetter, and use comphelper::ScopeGuard

Change-Id: I2214724567a58174b175a17fbabec7a5249e4df8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198482
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski
2026-02-01 19:38:44 +01:00
parent 046daed2e1
commit d0e23db89a
14 changed files with 44 additions and 66 deletions
@@ -347,7 +347,6 @@ public:
"std::unique_ptr<class SfxObjectShell::LockAllViewsGuard>",
"std::unique_ptr<class SwDocShell::LockAllViewsGuard>",
"std::unique_ptr<class SwSaveFootnoteHeight>",
"std::unique_ptr<class SwModelTestBase::Resetter>",
"StreamExceptionsEnabler",
"SvAddressParser_Impl",
"svl::undo::impl::LockGuard",
@@ -378,9 +377,7 @@ public:
"SwFontSave",
"SwFootnoteSave",
"SwFrameDeleteGuard",
"SwModelTestBase::Resetter",
"std::unique_ptr<class ScTokenArray>", // ScCompiler::CompileString has nasty semantics
"Resetter",
"SwFrameSwapper",
"SwFlyNotify",
"SwForbidFollowFormat",