diff options
author | Michael Stahl <mstahl@redhat.com> | 2018-03-01 13:10:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-03-07 13:17:04 +0100 |
commit | 316501e04218e86c1e97a0fa606727d0fa989eaa (patch) | |
tree | 2ed49879613c021bf362558eb5091e7dadf47f66 /officecfg/registry | |
parent | 45d59e98f4905475648d5e3ccacfa1279eb69a18 (diff) |
tdf#115429 xmloff: ODF import: fix handling of unknown attributes
... in SvXMLLegacyToFastDocHandler::startElement(), so that it does not
create invalid "-1" tokens that end up stored as empty-string
attribute names in SvXMLAttrCollection and ultimately exported
as invalid XML.
One surprising aspect is that the maNamespaceURL in struct
UnknownAttribute stores the namespace prefix in the libreoffice-5-4
branch, as it lacks commit bb59a80ee6000d3922fa95262f67e291fd9d8ee2.
The attributes are read and converted again in
SvXMLImportContext::startUnknownElement().
Change-Id: Id081c677286a77ec50d9884cdbd9135cf4f6e5b6
Reviewed-on: https://gerrit.libreoffice.org/50589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'officecfg/registry')
0 files changed, 0 insertions, 0 deletions