office-gobmx/unoxml/inc
Michael Stahl 9b9bc7461e tdf#153039 unoxml: replace root element of CDocument throws
XForms replace doesn't work because:

CDocument::IsChildTypeAllowed() tests that the document node does not
already have an element child, because only one is allowed - but when
called from CNode::replaceChild(), the existing child will be removed,
so that needs to be allowed to proceed (check that removed child is
also element).

(regression from commit c5db3b93ee)

Change-Id: I167de3462f4d1934dbf8404ad395349897cfd981
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145757
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2023-01-19 11:28:50 +00:00
..
pch
event.hxx osl::Mutex->std::mutex in CEvent 2021-12-25 07:15:33 +01:00
eventdispatcher.hxx tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
mouseevent.hxx tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
mutationevent.hxx tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00
node.hxx tdf#153039 unoxml: replace root element of CDocument throws 2023-01-19 11:28:50 +00:00
uievent.hxx tdf#124176 Use pragma once in u* 2021-03-23 10:54:09 +01:00