summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-06-17 21:19:34 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-18 00:36:28 +0200
commit894ce91bfd456df6101977621c69441e9338d500 (patch)
treeeef43325fb3690dd6f4b522138e3bcad050fbe52 /sw/source/core/txtnode
parent051bbb818fda2d84ec2b23c7c2b5337af1d4062c (diff)
sw: fix duplicate whichId attributes in node dump
Change-Id: I5089ce8e13d26dcc773f63b3a6f0ef17474444e0
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/txatbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index 0d3c8dac089e..d48090748ce8 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -114,7 +114,7 @@ void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
break;
}
if (pWhich)
- xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(pWhich));
+ xmlTextWriterWriteAttribute(pWriter, BAD_CAST("which"), BAD_CAST(pWhich));
if (oValue)
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(oValue->getStr()));
if (Which() == RES_TXTATR_AUTOFMT)