if ( !theComponentName || !strlen( theComponentName ) )
return anEngine._retn();
+ if ( SalomeApp_Application::moduleTitle( theComponentName ).isEmpty() )
+ return anEngine._retn();
+
std::string aPath( "/SalomeAppEngine/" );
aPath += theComponentName;
anEngine = namingService()->Resolve( aPath.c_str() );