forked from amazingfate/loongoffice
My initial commit adding SwTextContentControls::Delete didn't put it into the undo stack. But this slightly obscure ResetAttrs function can take this one argument and do the same thing, but with undo. make CppunitTest_sw_macros_test CPPUNIT_TEST_NAME=testModernVBADelete Change-Id: Ibfcb278186b17aa3c3d9f1970e55ceb0ec00ddc9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144238 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>