From 59e3bff49e3abac668b57d08422a257ca713c8a2 Mon Sep 17 00:00:00 2001 From: nds Date: Mon, 5 Dec 2016 07:52:39 +0300 Subject: [PATCH] Jenkins compilation correction --- src/XGUI/XGUI_WorkshopListener.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/XGUI/XGUI_WorkshopListener.cpp b/src/XGUI/XGUI_WorkshopListener.cpp index 72cf26593..45b343263 100755 --- a/src/XGUI/XGUI_WorkshopListener.cpp +++ b/src/XGUI/XGUI_WorkshopListener.cpp @@ -420,9 +420,11 @@ void XGUI_WorkshopListener:: XGUI_OperationMgr* anOperationMgr = workshop()->operationMgr(); if (anOperationMgr->hasOperation()) { ModuleBase_OperationFeature* aFOperation = dynamic_cast - (anOperationMgr->currentOperation()); - if (aFOperation && aFOperation->isEditOperation() && aFOperation->id() == "Remove_SubShapes") { - ResultCompSolidPtr aCompsolidResult = std::dynamic_pointer_cast(anObject); + (anOperationMgr->currentOperation()); + if (aFOperation && aFOperation->isEditOperation() && + aFOperation->id() == "Remove_SubShapes") { + ResultCompSolidPtr aCompsolidResult = + std::dynamic_pointer_cast(anObject); if (aCompsolidResult.get() != NULL) { // display all sub results for(int i = 0; i < aCompsolidResult->numberOfSubs(); i++) { ObjectPtr aSubObject = aCompsolidResult->subResult(i); -- 2.39.2