From: eap Date: Fri, 11 Feb 2011 15:20:04 +0000 (+0000) Subject: untabify X-Git-Tag: StartingPortingMED3~60 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4903340a61c6374f39b0330943e048a0f335b1a4;p=modules%2Fsmesh.git untabify --- diff --git a/src/OBJECT/SMESH_ActorUtils.cxx b/src/OBJECT/SMESH_ActorUtils.cxx index 36e40e679..fd928dc56 100644 --- a/src/OBJECT/SMESH_ActorUtils.cxx +++ b/src/OBJECT/SMESH_ActorUtils.cxx @@ -153,9 +153,9 @@ namespace SMESH if(theActor->GetPlot2Histogram()) if(aType == UpdateIn2dViewer) - aHistogram = theActor->UpdatePlot2Histogram(); + aHistogram = theActor->UpdatePlot2Histogram(); else - aHistogram = theActor->GetPlot2Histogram(); + aHistogram = theActor->GetPlot2Histogram(); else return; @@ -167,14 +167,14 @@ namespace SMESH SUIT_ViewManager* aViewManager; foreach( aViewManager, aViewManagerList ) { if (Plot2d_ViewManager* aManager = dynamic_cast(aViewManager)) { - if (SPlot2d_Viewer* aViewer = dynamic_cast(aManager->getViewModel())) { - if (Plot2d_ViewFrame* aViewFrame = aViewer->getActiveViewFrame()) { - if(aType == UpdateIn2dViewer ) - aViewFrame->displayObject(aHistogram, true); - else if (aType == RemoveFrom2dViewer) - aViewFrame->eraseObject(aHistogram, true); - } - } + if (SPlot2d_Viewer* aViewer = dynamic_cast(aManager->getViewModel())) { + if (Plot2d_ViewFrame* aViewFrame = aViewer->getActiveViewFrame()) { + if(aType == UpdateIn2dViewer ) + aViewFrame->displayObject(aHistogram, true); + else if (aType == RemoveFrom2dViewer) + aViewFrame->eraseObject(aHistogram, true); + } + } } } }