From 38cc6f29e03b91a215788caa67572a2a5ce255aa Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 8 Jan 2022 03:24:09 +0100 Subject: [PATCH] [PD] Pad /Pocket: remove unused code --- src/Mod/PartDesign/Gui/TaskExtrudeParameters.cpp | 10 ---------- src/Mod/PartDesign/Gui/TaskExtrudeParameters.h | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskExtrudeParameters.cpp b/src/Mod/PartDesign/Gui/TaskExtrudeParameters.cpp index 414dd553d4..520f97ed33 100644 --- a/src/Mod/PartDesign/Gui/TaskExtrudeParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskExtrudeParameters.cpp @@ -620,16 +620,6 @@ void TaskExtrudeParameters::translateFaceName() } } -double TaskExtrudeParameters::getLength(void) const -{ - return ui->lengthEdit->value().getValue(); -} - -double TaskExtrudeParameters::getLength2(void) const -{ - return ui->lengthEdit2->value().getValue(); -} - double TaskExtrudeParameters::getOffset(void) const { return ui->offsetEdit->value().getValue(); diff --git a/src/Mod/PartDesign/Gui/TaskExtrudeParameters.h b/src/Mod/PartDesign/Gui/TaskExtrudeParameters.h index 7d178612c0..5c9a40de98 100644 --- a/src/Mod/PartDesign/Gui/TaskExtrudeParameters.h +++ b/src/Mod/PartDesign/Gui/TaskExtrudeParameters.h @@ -89,8 +89,6 @@ protected: App::PropertyLinkSub* propReferenceAxis; void getReferenceAxis(App::DocumentObject*& obj, std::vector& sub) const; - double getLength(void) const; - double getLength2(void) const; bool getAlongSketchNormal(void) const; bool getCustom(void) const; std::string getReferenceAxis(void) const;