diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-09 09:24:01 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-09 09:24:15 +0100 |
commit | 4280ff6cb5696f33a425034130875c0a89be5aa5 (patch) | |
tree | 74561945adf19704938313f1ece4cb788ee8da42 /sw | |
parent | 901e5c3a21a1299d10c44bc844246fe8c329bb82 (diff) |
Factor out XFillBmpTileItem::dumpAsXml() from sw
Change-Id: I01816988eb3c47e60826ff01c1b8402f9f5130e4
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 6a17aaeb3a99..b8f48e044b5b 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -56,6 +56,7 @@ #include <svx/xflclit.hxx> #include <svx/xbtmpit.hxx> #include <svx/xfltrit.hxx> +#include <svx/xflbmtit.hxx> #include <tools/datetimeutils.hxx> #include <libxml/encoding.h> @@ -467,6 +468,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) case XATTR_FILLTRANSPARENCE: static_cast<const XFillTransparenceItem*>(pItem)->dumpAsXml(writer); break; + case XATTR_FILLBMP_TILE: + static_cast<const XFillBmpTileItem*>(pItem)->dumpAsXml(writer); + break; default: bDone = false; break; } if (bDone) @@ -481,9 +485,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) boost::optional<OString> oValue; switch (pItem->Which()) { - case XATTR_FILLBMP_TILE: - pWhich = "fill bitmap tile"; - break; case XATTR_FILLBMP_POS: pWhich = "fill bitmap position"; break; |