sw/source/core/text/xmldump.cxx     |    1 +
 sw/source/core/txtnode/txatbase.cxx |    2 ++
 2 files changed, 3 insertions(+)

New commits:
commit e2c81bdf6f9f0ee3289bec7aa4ddb1f95b95382d
Author:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
AuthorDate: Wed Aug 12 09:29:15 2020 +0200
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Thu Aug 13 15:29:45 2020 +0200

    Handle input fields in layout/nodes dump
    
    Change-Id: Ib552cd678cde4048ceca4cc85c0d0347fbcf54b4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100580
    Tested-by: Jenkins
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index d3e885597a74..6a982af47944 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -67,6 +67,7 @@ class XmlPortionDumper:public SwPortionHandler
             case PortionType::Meta: return "PortionType::Meta";
             case PortionType::FieldMark: return "PortionType::FieldMark";
             case PortionType::FieldFormCheckbox: return 
"PortionType::FieldFormCheckbox";
+            case PortionType::InputField: return "PortionType::InputField";
 
             case PortionType::Expand: return "PortionType::Expand";
             case PortionType::Blank: return "PortionType::Blank";
diff --git a/sw/source/core/txtnode/txatbase.cxx 
b/sw/source/core/txtnode/txatbase.cxx
index 4609bd8412e7..7f46fd178f37 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -151,9 +151,11 @@ void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
             GetAutoFormat().dumpAsXml(pWriter);
             break;
         case RES_TXTATR_FIELD:
+        case RES_TXTATR_INPUTFIELD:
             GetFormatField().dumpAsXml(pWriter);
             break;
         default:
+            SAL_WARN("sw.core", "Unhandled TXTATR");
             break;
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to