summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-10-03 14:32:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-10-03 16:15:00 +0200
commit087a8cb10058acdd1bd5071ca3d4725fe585dd7d (patch)
tree8a432a601c84ca4e80e942527d170c21fee23011 /sw
parentec13016a3cefc2c2f9af799e5c30799d56670ad1 (diff)
SwFldTypes::dumpAsXml: handle RES_{PAGENUMBER,DATETIME}FLD
Change-Id: Iccdf53d285ed36c59c7dab4050f1c56b0e326c91
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/docnode/nodedump.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index d4157841ffe5..0600ebc57798 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -155,9 +155,9 @@ void SwFldTypes::dumpAsXml( xmlTextWriterPtr w )
const char* name = "???";
switch(pCurFldFmt->GetFld()->GetTyp()->Which())
{
- case RES_POSTITFLD:
- name = "swpostitfield";
- break;
+ case RES_PAGENUMBERFLD: name = "swpagenumberfield"; break;
+ case RES_POSTITFLD: name = "swpostitfield"; break;
+ case RES_DATETIMEFLD: name = "swdatetimefield"; break;
default:
SAL_INFO("sw.core", "unhandled field type " << pCurFldFmt->GetFld()->GetTyp()->Which());
break;