summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-01-11 09:50:59 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-01-11 13:54:25 +0100
commit1aaa596af060c1427caf20b0d7fddfc955047f82 (patch)
tree82a475b330dcfbb593107fe89e638baf65691ba1 /sw/source
parent34870f1882c60f94e67555db09519b01706dae41 (diff)
Factor out XFillBmpStretchItem::dumpAsXml() from sw
Change-Id: I7890755f754ee21d2e6db84f169b52bf4737f524
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/docnode/nodedump.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index dfece350a0f8..092bf48de878 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -58,6 +58,7 @@
#include <svx/xfltrit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbmpit.hxx>
+#include <svx/xflbstit.hxx>
#include <tools/datetimeutils.hxx>
#include <libxml/encoding.h>
@@ -475,6 +476,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case XATTR_FILLBMP_POS:
static_cast<const XFillBmpPosItem*>(pItem)->dumpAsXml(writer);
break;
+ case XATTR_FILLBMP_STRETCH:
+ static_cast<const XFillBmpStretchItem*>(pItem)->dumpAsXml(writer);
+ break;
default: bDone = false; break;
}
if (bDone)
@@ -489,9 +493,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost::optional<OString> oValue;
switch (pItem->Which())
{
- case XATTR_FILLBMP_STRETCH:
- pWhich = "fill bitmap stretch";
- break;
case RES_PROTECT:
pWhich = "protect";
break;