[Libreoffice-commits] core.git: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jan 18 08:31:53 UTC 2019


 sw/source/core/access/accportions.cxx |    1 -
 sw/source/core/inc/txttypes.hxx       |    1 -
 sw/source/core/text/inftxt.cxx        |    1 -
 sw/source/core/text/xmldump.cxx       |    1 -
 4 files changed, 4 deletions(-)

New commits:
commit fd1cfd25b48cb4bd5c87e9cb317b37699ca3a1d6
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Jan 17 14:49:35 2019 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Jan 18 09:31:25 2019 +0100

    PortionType::Url is unused
    
    ever since
        commit 1b666235f6b0b0f0b13f473bf3b639f4f5f0b12f
        Date:   Wed Jan 3 09:08:52 2018 +0200
        loplugin:singlevalfields improve copy constructor check
    
    Change-Id: Ic17182c8abc29488ae2e1004d9fb4e8b8b7f623b
    Reviewed-on: https://gerrit.libreoffice.org/66515
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx
index f71974ace562..30efc92cc61d 100644
--- a/sw/source/core/access/accportions.cxx
+++ b/sw/source/core/access/accportions.cxx
@@ -276,7 +276,6 @@ bool SwAccessiblePortionData::IsGrayPortionType( PortionType nType ) const
         case PortionType::QuoVadis:
         case PortionType::Number:
         case PortionType::Field:
-        case PortionType::Url:
         case PortionType::InputField:
         case PortionType::IsoTox:
         case PortionType::Tox:
diff --git a/sw/source/core/inc/txttypes.hxx b/sw/source/core/inc/txttypes.hxx
index 511a3160c6bf..89db78b5d3f6 100644
--- a/sw/source/core/inc/txttypes.hxx
+++ b/sw/source/core/inc/txttypes.hxx
@@ -38,7 +38,6 @@ enum class PortionType
     Text        = 0x8000,
     Lay         = 0x8001,
     Para        = 0x8002,
-    Url         = 0x8003,
     Hanging     = 0x8004,
     InputField  = 0x8005,
 
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 2b9bdee32440..ab89e4c6f38d 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1281,7 +1281,6 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
         case PortionType::QuoVadis:
         case PortionType::Number:
         case PortionType::Field:
-        case PortionType::Url:
         case PortionType::Hidden:
         case PortionType::Tox:
         case PortionType::Ref:
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 9a916c87f583..0b57bb1a5581 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -54,7 +54,6 @@ class XmlPortionDumper:public SwPortionHandler
             case PortionType::Text: return "PortionType::Text";
             case PortionType::Lay: return "PortionType::Lay";
             case PortionType::Para: return "PortionType::Para";
-            case PortionType::Url: return "PortionType::Url";
             case PortionType::Hanging: return "PortionType::Hanging";
 
             case PortionType::Drop: return "PortionType::Drop";


More information about the Libreoffice-commits mailing list