diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-16 09:26:09 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-16 09:26:54 +0100 |
commit | 0ffb225d374cfda29275db3c22a9866eb5fe5ad2 (patch) | |
tree | f3ef0df2c2a7deb92cdf09890fe0801ca81b383a /sw | |
parent | 2f69f6efa0ef3e6647e4a438755c171182a7554c (diff) |
Factor out SvxLRSpaceItem::dumpAsXml() from sw
Change-Id: Id28c3e1617f2e73c36f13b506488d401a22b00a8
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 55490ee8d7f2..d63b82a0d971 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -490,6 +490,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) case RES_COLUMNBALANCE: static_cast<const SwFmtNoBalancedColumns*>(pItem)->dumpAsXml(writer); break; + case RES_LR_SPACE: + static_cast<const SvxLRSpaceItem*>(pItem)->dumpAsXml(writer); + break; default: bDone = false; break; } if (bDone) @@ -504,9 +507,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) boost::optional<OString> oValue; switch (pItem->Which()) { - case RES_LR_SPACE: - pWhich = "left-right space"; - break; case RES_UL_SPACE: pWhich = "upper-lower space"; break; |