summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/nodedump.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/nodedump.cxx')
-rw-r--r--sw/source/core/docnode/nodedump.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index a57e88575d34..76f22176e5c7 100644
--- a/sw/source/core/docnode/nodedump.cxx
+++ b/sw/source/core/docnode/nodedump.cxx
@@ -23,6 +23,7 @@
#include <svl/itemiter.hxx>
#include <svl/intitem.hxx>
#include <editeng/charrotateitem.hxx>
+#include <editeng/rsiditem.hxx>
#include <tools/datetimeutils.hxx>
#include <libxml/encoding.h>
@@ -305,7 +306,14 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case RES_CHRATR_CJK_WEIGHT: pWhich = "character cjk weight"; break;
case RES_CHRATR_CTL_POSTURE: pWhich = "character ctl posture"; break;
case RES_CHRATR_CTL_WEIGHT: pWhich = "character ctl weight"; break;
- case RES_CHRATR_RSID: pWhich = "character rsid"; break;
+ case RES_CHRATR_RSID:
+ {
+ pWhich = "character rsid";
+ css::uno::Any aAny;
+ static_cast<const SvxRsidItem*>(pItem)->QueryValue(aAny);
+ oValue = OString::number(aAny.get<sal_uInt32>());
+ }
+ break;
case RES_CHRATR_ROTATE: pWhich = "character rotation"; oValue = OString::number(static_cast<const SvxCharRotateItem*>(pItem)->GetValue()); break;
case RES_PARATR_OUTLINELEVEL: pWhich = "paragraph outline level"; oValue = OString::number(static_cast<const SfxUInt16Item*>(pItem)->GetValue()); break;
case RES_PARATR_NUMRULE: pWhich = "paragraph numbering rule"; oValue = OUStringToOString(static_cast<const SwNumRuleItem*>(pItem)->GetValue(), RTL_TEXTENCODING_UTF8); break;