EgtExchange 2.2k3 :
- corrette CreateBeamMgr, CreateExport*, CreateImport* in caso di errore ora restituiscono nullptr.
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ CreateExportSvg( void)
|
||||
{
|
||||
// verifico la chiave e le opzioni
|
||||
if ( ! TestKeyForEEx( GetEExKey(), KEYOPT_EEX_EXPBASE, GetEExLogger()))
|
||||
return false ;
|
||||
return nullptr ;
|
||||
// creo l'oggetto
|
||||
return static_cast<IExportSvg*> ( new(nothrow) ExportSvg) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user