Kaydet (Commit) fd1cfd25 authored tarafından Noel Grandin's avatar Noel Grandin

PortionType::Url is unused

ever since
    commit 1b666235
    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: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 79e618c6
...@@ -276,7 +276,6 @@ bool SwAccessiblePortionData::IsGrayPortionType( PortionType nType ) const ...@@ -276,7 +276,6 @@ bool SwAccessiblePortionData::IsGrayPortionType( PortionType nType ) const
case PortionType::QuoVadis: case PortionType::QuoVadis:
case PortionType::Number: case PortionType::Number:
case PortionType::Field: case PortionType::Field:
case PortionType::Url:
case PortionType::InputField: case PortionType::InputField:
case PortionType::IsoTox: case PortionType::IsoTox:
case PortionType::Tox: case PortionType::Tox:
......
...@@ -38,7 +38,6 @@ enum class PortionType ...@@ -38,7 +38,6 @@ enum class PortionType
Text = 0x8000, Text = 0x8000,
Lay = 0x8001, Lay = 0x8001,
Para = 0x8002, Para = 0x8002,
Url = 0x8003,
Hanging = 0x8004, Hanging = 0x8004,
InputField = 0x8005, InputField = 0x8005,
......
...@@ -1281,7 +1281,6 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor, ...@@ -1281,7 +1281,6 @@ void SwTextPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
case PortionType::QuoVadis: case PortionType::QuoVadis:
case PortionType::Number: case PortionType::Number:
case PortionType::Field: case PortionType::Field:
case PortionType::Url:
case PortionType::Hidden: case PortionType::Hidden:
case PortionType::Tox: case PortionType::Tox:
case PortionType::Ref: case PortionType::Ref:
......
...@@ -54,7 +54,6 @@ class XmlPortionDumper:public SwPortionHandler ...@@ -54,7 +54,6 @@ class XmlPortionDumper:public SwPortionHandler
case PortionType::Text: return "PortionType::Text"; case PortionType::Text: return "PortionType::Text";
case PortionType::Lay: return "PortionType::Lay"; case PortionType::Lay: return "PortionType::Lay";
case PortionType::Para: return "PortionType::Para"; case PortionType::Para: return "PortionType::Para";
case PortionType::Url: return "PortionType::Url";
case PortionType::Hanging: return "PortionType::Hanging"; case PortionType::Hanging: return "PortionType::Hanging";
case PortionType::Drop: return "PortionType::Drop"; case PortionType::Drop: return "PortionType::Drop";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment