summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-12-17 09:07:10 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-17 09:07:38 +0100
commit53421edf6c821d9a74c32c2fd8d5eb15fb5e5fd3 (patch)
tree58f475e2b0d50088c701b709c105b4d3f507f9a8 /sw
parent4e1e9eb2fb08fcddf076051501c875ce0766964b (diff)
Factor out SvxBrushItem::dumpAsXml() from sw
Change-Id: I5421cf5a7d1a2ff4db81d028f44a490c234b9ccf
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/docnode/nodedump.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index 17540bca3647..a83799b526f8 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -416,6 +416,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case RES_CHRATR_FONT:
static_cast<const SvxFontItem*>(pItem)->dumpAsXml(writer);
break;
+ case RES_CHRATR_BACKGROUND:
+ static_cast<const SvxBrushItem*>(pItem)->dumpAsXml(writer);
+ break;
default: bDone = false; break;
}
if (bDone)
@@ -430,7 +433,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost::optional<OString> oValue;
switch (pItem->Which())
{
- case RES_CHRATR_BACKGROUND: pWhich = "character background"; break;
case RES_CHRATR_CTL_FONT: pWhich = "character ctl font"; break;
case RES_CHRATR_FONTSIZE:
{