From 53421edf6c821d9a74c32c2fd8d5eb15fb5e5fd3 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 17 Dec 2014 09:07:10 +0100 Subject: Factor out SvxBrushItem::dumpAsXml() from sw Change-Id: I5421cf5a7d1a2ff4db81d028f44a490c234b9ccf --- sw/source/core/docnode/nodedump.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw') 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(pItem)->dumpAsXml(writer); break; + case RES_CHRATR_BACKGROUND: + static_cast(pItem)->dumpAsXml(writer); + break; default: bDone = false; break; } if (bDone) @@ -430,7 +433,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) boost::optional 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: { -- cgit