diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-26 15:50:41 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-06-26 16:44:01 +0200 |
commit | d89d8169716a748c098108eaada789206bb722c3 (patch) | |
tree | d3e56a4ff006c78eb4208b9f17ab18a73f3a6dfc | |
parent | ff4698da491f8d1d910559c53bd7bba49e8499d3 (diff) |
sw doc model xml dump: handle SwFmtFrmSize
Change-Id: Ie1a8dbc86c9725f3d238226c166ec657722c1770
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index df9a8fb48945..248aa06bbff9 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -21,6 +21,7 @@ #include "fmtautofmt.hxx" #include "fmtcntnt.hxx" #include "fmtornt.hxx" +#include "fmtfsize.hxx" #include "charfmt.hxx" #include "frmfmt.hxx" #include "fmtanchr.hxx" @@ -413,6 +414,8 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) case RES_FRM_SIZE: { pWhich = "frame size"; + const SwFmtFrmSize* pSize = static_cast<const SwFmtFrmSize*>(pItem); + oValue = "height size type: " + OString::number(pSize->GetHeightSizeType()) + ", width size type: " + OString::number(pSize->GetWidthSizeType()); break; } case RES_VERT_ORIENT: |