summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-20 09:10:35 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-20 09:11:26 +0100
commit71edf281f38a3ee839a99393cb06316c7231f3d2 (patch)
treed0e21d5dfc391781ac20db2cfb23a7523377b266 /sw
parentbe06f3433ff7a92eba2f35f2f9764131e874450c (diff)
Factor out SvxShadowItem::dumpAsXml() from sw
Change-Id: Id25a050a9840d83cff4b390faec7478f17336524
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 5822f893544e..b05809aaa31c 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -496,6 +496,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case RES_UL_SPACE:
static_cast<const SvxULSpaceItem*>(pItem)->dumpAsXml(writer);
break;
+ case RES_SHADOW:
+ static_cast<const SvxShadowItem*>(pItem)->dumpAsXml(writer);
+ break;
default: bDone = false; break;
}
if (bDone)
@@ -510,9 +513,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost::optional<OString> oValue;
switch (pItem->Which())
{
- case RES_SHADOW:
- pWhich = "shadow";
- break;
case RES_PAGEDESC:
{
pWhich = "page description";