diff --git a/Applications/RadiometricIndices/otbRadiometricWaterIndices.cxx b/Applications/RadiometricIndices/otbRadiometricWaterIndices.cxx
index 6ff9cdf8611edda2232884d2f5006db2d72108e6..f87c0b817bfa297518fe6d5db67bd12e163bfd40 100644
--- a/Applications/RadiometricIndices/otbRadiometricWaterIndices.cxx
+++ b/Applications/RadiometricIndices/otbRadiometricWaterIndices.cxx
@@ -179,7 +179,7 @@ private:
   if( this->IsParameterEnabled(key) )                                   \
     {                                                                   \
     type##FilterType::Pointer l_##type##Filter = type##FilterType::New(); \
-    itk::OStringStream oss;                                             \
+    std::ostringstream oss;                                             \
     oss<<"channels."<<chan1;                                            \
     l_##type##Filter->GetFunctor().SetIndex1(this->GetParameterInt(oss.str())); \
     oss.str("");                                                        \