From 7b8e76924ee1d21a1aba12db8c585cd0b8ffa62b Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Mon, 28 Apr 2014 15:55:25 +0200
Subject: [PATCH] Backed out changeset f6738d24fe11

---
 Code/ApplicationEngine/otbWrapperApplication.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/ApplicationEngine/otbWrapperApplication.h b/Code/ApplicationEngine/otbWrapperApplication.h
index f977d9f68f..4bebf08f36 100644
--- a/Code/ApplicationEngine/otbWrapperApplication.h
+++ b/Code/ApplicationEngine/otbWrapperApplication.h
@@ -707,7 +707,7 @@ protected:
     if (dynamic_cast<InputImageParameter*>(param))
       {
       InputImageParameter* paramDown = dynamic_cast<InputImageParameter*>(param);
-      ret = dynamic_cast<TImageType*>(paramDown->GetImage());
+      ret = paramDown->GetImage<TImageType>();
       }
 
     //TODO: exception if not found ?
-- 
GitLab