diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 10:17:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 12:42:04 +0200 |
commit | 3910f943e9bf7e70589d9a7c42c05a43ac11856c (patch) | |
tree | 255d3f4fb90c27f2c4c262a7ce6efc7108f753d2 /framework | |
parent | a6a46aad5118fca8b27205e9c0a9772af322235a (diff) |
drop unused enumerators from TargetHelper::ESpecialTarget
Change-Id: Ieda0b6f09b0e4cb463de32309a2617018bb7cee5
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/inc/loadenv/targethelper.hxx | 3 | ||||
-rw-r--r-- | framework/source/loadenv/targethelper.cxx | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/framework/source/inc/loadenv/targethelper.hxx b/framework/source/inc/loadenv/targethelper.hxx index 574340049320..afa968645f66 100644 --- a/framework/source/inc/loadenv/targethelper.hxx +++ b/framework/source/inc/loadenv/targethelper.hxx @@ -41,9 +41,6 @@ class TargetHelper */ enum class ESpecialTarget { - Self, - Parent, - Top, Blank, Default, Beamer, diff --git a/framework/source/loadenv/targethelper.cxx b/framework/source/loadenv/targethelper.cxx index 4010355a2358..80a096e963c4 100644 --- a/framework/source/loadenv/targethelper.cxx +++ b/framework/source/loadenv/targethelper.cxx @@ -26,18 +26,6 @@ bool TargetHelper::matchSpecialTarget(const OUString& sCheckTarget , { switch(eSpecialTarget) { - case ESpecialTarget::Self : - return ( - (sCheckTarget.isEmpty() ) || - sCheckTarget == SPECIALTARGET_SELF - ); - - case ESpecialTarget::Parent : - return sCheckTarget == SPECIALTARGET_PARENT; - - case ESpecialTarget::Top : - return sCheckTarget == SPECIALTARGET_TOP; - case ESpecialTarget::Blank : return sCheckTarget == SPECIALTARGET_BLANK; |