sw/source/core/txtnode/txatbase.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 1bde4e6ff4bfcc922c7117d9d0528ce0c7f1adc5
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Fri Jan 5 08:08:20 2024 +0100
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Fri Jan 5 11:28:28 2024 +0100

    sw: simplify RES_TXTATR_INETFMT handling in SwTextAttr::dumpAsXml()
    
    RES_TXTATR_INETFMT will result in a call to GetINetFormat().dumpAsXml()
    later and that contains all the info (symbol name, URL) in a repeated
    form. And if more info is needed, an SwFormatINetFormat::dumpAsXml() can
    be introduced.
    
    Change-Id: I42f941fab79f96927ba6e82fe8bfa6616b67c6a7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161653
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/txtnode/txatbase.cxx 
b/sw/source/core/txtnode/txatbase.cxx
index 8e48806901a2..701e9c1399f7 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -113,13 +113,6 @@ void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
     case RES_TXTATR_FLYCNT:
         pWhich = "fly content";
         break;
-    case RES_TXTATR_INETFMT:
-        {
-            pWhich = "inet format";
-            const SwFormatINetFormat& rFormat = GetINetFormat();
-            oValue = OString("url: " + rFormat.GetValue().toUtf8());
-            break;
-        }
     case RES_TXTATR_CJK_RUBY:
         {
             pWhich = "ruby";

Reply via email to