[commit] r2606 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Aug 19 15:13:21 CDT 2015


Author: ksmyth
Date: Wed Aug 19 15:13:21 2015
New Revision: 2606

Log:
Accept VT_NULL GUID passed to MgaRegistrar::QueryParadigm (aka Python None)

Modified:
   trunk/GME/MgaUtil/MgaRegistrar.cpp

Modified: trunk/GME/MgaUtil/MgaRegistrar.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaRegistrar.cpp	Wed Aug 19 15:13:09 2015	(r2605)
+++ trunk/GME/MgaUtil/MgaRegistrar.cpp	Wed Aug 19 15:13:21 2015	(r2606)
@@ -1461,7 +1461,7 @@
 		CString guidact;
 
 		CComBstrObj inguidstr;
-		if(guid->vt != VT_EMPTY) {
+		if(guid->vt != VT_EMPTY && guid->vt != VT_NULL) {
 			GUID g;
 			CopyTo(*guid, g);
 			CopyTo(g, inguidstr);


More information about the gme-commit mailing list