diff --git a/Modules/Visualization/MonteverdiCore/include/mvdStackedLayerModel.h b/Modules/Visualization/MonteverdiCore/include/mvdStackedLayerModel.h
index a312e7631bba089f278ed86913a65f057e20e068..b14a6d7ecb8a5eea4d12246ae33b3bd5c28fdfaa 100644
--- a/Modules/Visualization/MonteverdiCore/include/mvdStackedLayerModel.h
+++ b/Modules/Visualization/MonteverdiCore/include/mvdStackedLayerModel.h
@@ -318,7 +318,7 @@ private slots:
 };
 
 #if OTB_DEBUG
-inline void trace( const std::vector< std::string > & );
+inline void trace( const StringVector & );
 #endif
 
 } // end namespace 'mvd'.
@@ -936,10 +936,8 @@ StackedLayerModel
 
 inline
 void
-trace( const std::vector< std::string > & strv )
+trace( const StringVector & strv )
 {
-  typedef std::vector< std::string > StringVector;
-
   qDebug() << "{";
 
   for( StringVector::const_iterator it( strv.begin() );