From e6097e81dedc6e8f37f033cdbb6ed35b7c04ccd2 Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Tue, 19 Aug 2014 20:24:40 +0000 Subject: [PATCH] TestEGr : - ricompilazione. --- GeomDBTree.cpp | 2 +- TestEGr.rc | Bin 23966 -> 24014 bytes TestEGrDlg.cpp | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GeomDBTree.cpp b/GeomDBTree.cpp index cf83576..e269d47 100644 --- a/GeomDBTree.cpp +++ b/GeomDBTree.cpp @@ -162,7 +162,7 @@ CTestEGrDlg::InsertGroupInTree( int nId, HTREEITEM hParent) // creo un iteratore PtrOwner pIter( CreateGdbIterator()) ; - if ( ! ::IsValid( pIter)) + if ( IsNull( pIter)) return false ; // scandisco il gruppo pIter->SetGDB( m_pGeomDB) ; diff --git a/TestEGr.rc b/TestEGr.rc index db2a9cba1b38b226d91cb374fb5420b63e7cdd01..474d9312427e1a687ce237ad082e696cff820a80 100644 GIT binary patch delta 71 zcmbQYoAKOk#tm(X?8Xd63`q=`n;R9MvcoxvnlIVe%@|CeGLIQIYZx=J!9@}^pEGXe Iv7V#^00*ZOvH$=8 delta 39 tcmX@Nn{nQ5#tm(XnAddGroup( GDB_ID_NULL, GDB_ID_ROOT, Frame3d()) ; // preparo l'importatore PtrOwner pImpDxf( CreateImportDxf()) ; - if ( ! IsValid( pImpDxf)) { + if ( IsNull( pImpDxf)) { LOG_ERROR( m_pLogGen, "Error : CreateImportDxf") return false ; } @@ -1253,7 +1253,7 @@ CTestEGrDlg::FileImport( const string& sFilePath) int nLayerId = m_pGeomDB->AddGroup( GDB_ID_NULL, nPartId, Frame3d()) ; // preparo l'importatore PtrOwner pImpStl( CreateImportStl()) ; - if ( ! IsValid( pImpStl)) { + if ( IsNull( pImpStl)) { LOG_ERROR( m_pLogGen, "Error : CreateImportStl") return false ; } @@ -1314,7 +1314,7 @@ CTestEGrDlg::FileExport( const string& sFilePath) if ( sFileExt == "DXF") { // preparo l'esportatore PtrOwner pExpDxf( CreateExportDxf()) ; - if ( ! IsValid( pExpDxf)) { + if ( IsNull( pExpDxf)) { LOG_ERROR( m_pLogGen, "Error : CreateExportDxf") return false ; } @@ -1329,7 +1329,7 @@ CTestEGrDlg::FileExport( const string& sFilePath) else if ( sFileExt == "STL") { // preparo l'esportatore PtrOwner pExpStl( CreateExportStl()) ; - if ( ! IsValid( pExpStl)) { + if ( IsNull( pExpStl)) { LOG_ERROR( m_pLogGen, "Error : CreateExportStl") return false ; }