[commit] r2722 - trunk/GME/Mga
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Dec 6 13:41:33 CST 2017
Author: ksmyth
Date: Wed Dec 6 13:41:33 2017
New Revision: 2722
Log:
Fix GetErrorInfo for MgaFCO::get_Part(meta)
Modified:
trunk/GME/Mga/MgaFCO.cpp
trunk/GME/Mga/MgaTrukk.h
Modified: trunk/GME/Mga/MgaFCO.cpp
==============================================================================
--- trunk/GME/Mga/MgaFCO.cpp Wed Dec 6 13:41:30 2017 (r2721)
+++ trunk/GME/Mga/MgaFCO.cpp Wed Dec 6 13:41:33 2017 (r2722)
@@ -601,7 +601,7 @@
}
if (ret == nullptr)
{
- return E_NOTFOUND;
+ COMTHROW(E_NOTFOUND);
}
*pVal = ret.Detach();
Modified: trunk/GME/Mga/MgaTrukk.h
==============================================================================
--- trunk/GME/Mga/MgaTrukk.h Wed Dec 6 13:41:30 2017 (r2721)
+++ trunk/GME/Mga/MgaTrukk.h Wed Dec 6 13:41:33 2017 (r2722)
@@ -420,7 +420,7 @@
#define MODIFIED { if(mgaproject->opened < 1000) mgaproject->opened++; }
-
+
#undef COMCATCH
#define COMCATCH( CLEANUP ) \
catch(hresult_exception &e) \
@@ -429,7 +429,7 @@
{ \
CLEANUP; \
} \
- MgaSetErrorInfo(e.hr); \
+ SetStandardOrGMEErrorInfo(e.hr); \
return e.hr; \
} \
catch(_com_error &err) \
More information about the gme-commit
mailing list