diff options
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; |