summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-17 14:49:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-18 09:31:25 +0100
commitfd1cfd25b48cb4bd5c87e9cb317b37699ca3a1d6 (patch)
tree67f23e9ebf14240c068a39a8ca772edc2c028f92
parent79e618c65f398b83df45232c227f92fb5eca49a7 (diff)
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@collabora.co.uk>
-rw-r--r--sw/source/core/access/accportions.cxx1
-rw-r--r--sw/source/core/inc/txttypes.hxx1
-rw-r--r--sw/source/core/text/inftxt.cxx1
-rw-r--r--sw/source/core/text/xmldump.cxx1
4 files changed, 0 insertions, 4 deletions
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";