diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 2a2ae30a15c5..3266c1fad956 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -17,6 +17,7 @@ #include "txatbase.hxx" #include "fmtautofmt.hxx" #include "fmtcntnt.hxx" +#include "fmtornt.hxx" #include "charfmt.hxx" #include "frmfmt.hxx" #include "fmtanchr.hxx" @@ -412,11 +413,15 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) case RES_VERT_ORIENT: { pWhich = "frame vertical orientation"; + const SwFmtVertOrient* pOrient = static_cast<const SwFmtVertOrient*>(pItem); + oValue = "orient: " + OString::number(pOrient->GetVertOrient()) + ", relation: " + OString::number(pOrient->GetRelationOrient()) + ", position: " + OString::number(pOrient->GetPos()); break; } case RES_HORI_ORIENT: { pWhich = "frame horizontal orientation"; + const SwFmtHoriOrient* pOrient = static_cast<const SwFmtHoriOrient*>(pItem); + oValue = "orient: " + OString::number(pOrient->GetHoriOrient()) + ", relation: " + OString::number(pOrient->GetRelationOrient()) + ", position: " + OString::number(pOrient->GetPos()); break; } case RES_ANCHOR: |