From 4903340a61c6374f39b0330943e048a0f335b1a4 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 11 Feb 2011 15:20:04 +0000 Subject: [PATCH] untabify --- src/OBJECT/SMESH_ActorUtils.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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); + } + } } } } -- 2.39.2