summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-04-21 16:01:10 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-04-21 18:28:16 +0200
commitd31d038f4e385e228488fd76f6d463a43a2f6266 (patch)
treec30b2fe557194e046e30acfea0a0bb49d10f0c99
parentf29e959c827a5858e3baeea6e748aa597ac9fb94 (diff)
SwTxtAttr::dumpAsXml: show hyperlink URLs
Change-Id: Ie887db2793a8bc85a6cd381db7543436bbd5a9d5
-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 061cb257a63b..d0be2b452cde 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -103,6 +103,13 @@ void SwTxtAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
oValue = "name: " + OUStringToOString(pCharFmt->GetName(), RTL_TEXTENCODING_UTF8);
break;
}
+ case RES_TXTATR_INETFMT:
+ {
+ pWhich = "inet format";
+ const SwFmtINetFmt& rFmt = GetINetFmt();
+ oValue = "url: " + rFmt.GetValue().toUtf8();
+ break;
+ }
default:
break;
}