From: nds Date: Mon, 5 Dec 2016 04:52:39 +0000 (+0300) Subject: Jenkins compilation correction X-Git-Tag: V_2.6.0~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59e3bff49e3abac668b57d08422a257ca713c8a2;p=modules%2Fshaper.git Jenkins compilation correction --- 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);