diff --git a/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp b/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp index efa0a967c7..615c24a021 100644 --- a/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskChamferParameters.cpp @@ -178,7 +178,6 @@ void TaskChamferParameters::onRefDeleted(void) // delete the selection backwards to assure the list index keeps valid for the deletion for (int i = selectedList.count() - 1; i > -1; i--) { - QListWidgetItem* item = selectedList.at(i); // get the fillet object PartDesign::Chamfer* pcChamfer = static_cast(DressUpView->getObject()); App::DocumentObject* base = pcChamfer->Base.getValue(); diff --git a/src/Mod/PartDesign/Gui/TaskDraftParameters.cpp b/src/Mod/PartDesign/Gui/TaskDraftParameters.cpp index 73371a3438..c32af9e2aa 100644 --- a/src/Mod/PartDesign/Gui/TaskDraftParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskDraftParameters.cpp @@ -252,7 +252,6 @@ void TaskDraftParameters::onRefDeleted(void) // delete the selection backwards to assure the list index keeps valid for the deletion for (int i = selectedList.count() - 1; i > -1; i--) { - QListWidgetItem* item = selectedList.at(i); // get the fillet object PartDesign::Draft* pcDraft = static_cast(DressUpView->getObject()); App::DocumentObject* base = pcDraft->Base.getValue(); diff --git a/src/Mod/PartDesign/Gui/TaskDressUpParameters.cpp b/src/Mod/PartDesign/Gui/TaskDressUpParameters.cpp index 8c379ce612..c821edea85 100644 --- a/src/Mod/PartDesign/Gui/TaskDressUpParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskDressUpParameters.cpp @@ -25,8 +25,10 @@ #include "PreCompiled.h" #ifndef _PreComp_ +# include # include # include +# include #endif #include diff --git a/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp b/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp index fb44cd8176..93da8b44a0 100644 --- a/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskFilletParameters.cpp @@ -178,7 +178,6 @@ void TaskFilletParameters::onRefDeleted(void) // delete the selection backwards to assure the list index keeps valid for the deletion for (int i = selectedList.count()-1; i > -1; i--) { - QListWidgetItem* item = selectedList.at(i); // get the fillet object PartDesign::Fillet* pcFillet = static_cast(DressUpView->getObject()); App::DocumentObject* base = pcFillet->Base.getValue(); diff --git a/src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp b/src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp index a430af13ed..496a64e54e 100644 --- a/src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskThicknessParameters.cpp @@ -200,7 +200,6 @@ void TaskThicknessParameters::onRefDeleted(void) // delete the selection backwards to assure the list index keeps valid for the deletion for (int i = selectedList.count() - 1; i > -1; i--) { - QListWidgetItem* item = selectedList.at(i); // get the fillet object PartDesign::Thickness* pcThickness = static_cast(DressUpView->getObject()); App::DocumentObject* base = pcThickness->Base.getValue();