Coverity
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 10:46:29 +0000 (10:46 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 10:46:29 +0000 (10:46 +0000)
EVE/EveBase/AliEveKinkListEditor.cxx
EVE/EveBase/AliEveMacroEditor.cxx
EVE/EveBase/AliEveTrackCounterEditor.cxx
EVE/EveBase/AliEveTrackFitter.cxx
EVE/EveBase/AliEveTrackFitterEditor.cxx
EVE/EveBase/AliEveV0Editor.cxx
EVE/EveBase/AliEveV0ListEditor.cxx

index 382fad6bd2947a373d9a4ef1489ed7f1d3bea107..bcccfa8ea8ba866247143c081033c045278d9adf 100644 (file)
@@ -114,7 +114,7 @@ void AliEveKinkListEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveKinkList*>(obj);
+  fM = static_cast<AliEveKinkList*>(obj);
 
   // Set values of widgets
   // fXYZZ->SetValue(fM->GetXYZZ());
index a04e5d60af7be1a5daa5af1a3783fdfd34daa117..9b43bbd53ad66c04d35ba20ae37d8b408eb1d81c 100644 (file)
@@ -107,7 +107,7 @@ void AliEveMacroEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveMacro*>(obj);
+  fM = static_cast<AliEveMacro*>(obj);
 
   fSources->Select  (fM->GetSources(), kFALSE);
   fTags   ->SetText (fM->GetTags(),  kFALSE);
index 821bcf9a27a33e5ee789270024212079eb5de9b8..2803b6672fd0c81c17995480af1a44bd540a2fe4 100644 (file)
@@ -237,7 +237,7 @@ void AliEveTrackCounterEditor::SetModel(TObject* obj)
 {
    // Set model object.
 
-   fM = dynamic_cast<AliEveTrackCounter*>(obj);
+   fM = static_cast<AliEveTrackCounter*>(obj);
 
    if (fM->GetActive())
    {
index 6eb19846b28885373fbed3feb761f7766390e94f..b39df4ea2ad642cf5c16b816538dea67b25a70ac 100644 (file)
@@ -142,7 +142,7 @@ void AliEveTrackFitter::AddFitPoint(Int_t pointId)
 
   Float_t x, y, z;
 
-  TEvePointSet* ps = dynamic_cast<TEvePointSet*>((TQObject*) gTQSender);
+  TEvePointSet* ps = static_cast<TEvePointSet*>((TQObject*) gTQSender);
 
   PointMap_t::iterator g = fSPMap.find(Point_t(ps, pointId));
   if (g != fSPMap.end())
index b9b090bdb1b333a6a31d89c99157d0911be5d6d3..cb6e40bc4ea162397d28fc298841f61273103549 100644 (file)
@@ -69,7 +69,7 @@ void AliEveTrackFitterEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveTrackFitter*>(obj);
+  fM = static_cast<AliEveTrackFitter*>(obj);
 
   if(fM->GetConnected())
   {
index 7d0f2711a6e3bb134b962ac1324023d29fb68a4e..603613e220075fe1e21611938d8468911f1c1343 100644 (file)
@@ -75,7 +75,7 @@ void AliEveV0Editor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveV0*>(obj);
+  fM = static_cast<AliEveV0*>(obj);
 
   // Set values of widgets
   fInfoLabel0->SetText(Form("Radius = %f, DCA = %f", fM->GetRadius(), fM->GetDaughterDCA()));
index 51d5cdfa1d03b11648b6c4e4eb9b2a4cd1c4c545..f1a7e14fddf9b85e9b53e8f1c7cc06d5ccb51def 100644 (file)
@@ -149,7 +149,7 @@ void AliEveV0ListEditor::SetModel(TObject* obj)
 {
   // Set model object.
 
-  fM = dynamic_cast<AliEveV0List*>(obj);
+  fM = static_cast<AliEveV0List*>(obj);
 
   // Set values of widgets
   // fXYZZ->SetValue(fM->GetXYZZ());