diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index a83799b526f8..f6cd7f85eafb 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -414,11 +414,15 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) static_cast<const SwNumRuleItem*>(pItem)->dumpAsXml(writer); break; case RES_CHRATR_FONT: + case RES_CHRATR_CTL_FONT: static_cast<const SvxFontItem*>(pItem)->dumpAsXml(writer); break; case RES_CHRATR_BACKGROUND: static_cast<const SvxBrushItem*>(pItem)->dumpAsXml(writer); break; + case RES_CHRATR_FONTSIZE: + static_cast<const SvxFontHeightItem*>(pItem)->dumpAsXml(writer); + break; default: bDone = false; break; } if (bDone) @@ -433,14 +437,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet) boost::optional<OString> oValue; switch (pItem->Which()) { - case RES_CHRATR_CTL_FONT: pWhich = "character ctl font"; break; - case RES_CHRATR_FONTSIZE: - { - pWhich = "character font size"; - const SvxFontHeightItem* pFontHeightItem = static_cast<const SvxFontHeightItem*>(pItem); - oValue = "nHeight: " + OString::number(pFontHeightItem->GetHeight()) + ", nProp: " + OString::number(pFontHeightItem->GetProp()); - break; - } case RES_CNTNT: { pWhich = "content"; |