summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-06-17 21:23:40 +0200
committerMichael Stahl <mstahl@redhat.com>2015-06-18 00:36:28 +0200
commitca6667f8de0fff6af128fc27458da30a1a6e5046 (patch)
tree7af4ffed5a6a19cf88a65e67151186c1c0040f2f /sw/source/core/txtnode
parent894ce91bfd456df6101977621c69441e9338d500 (diff)
sw: dump ruby text in nodes dump
Change-Id: Iae673ac8ed8e5817efefd665dbf5f061e80f94bc
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/txatbase.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index d48090748ce8..f9087b9c776b 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -110,6 +110,13 @@ void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
oValue = "url: " + rFormat.GetValue().toUtf8();
break;
}
+ case RES_TXTATR_CJK_RUBY:
+ {
+ pWhich = "ruby";
+ const SwFormatRuby& rFormat = GetRuby();
+ oValue = "rubytext: " + rFormat.GetText().toUtf8();
+ break;
+ }
default:
break;
}