[commit] r1811 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jan 20 16:18:51 CST 2012


Author: ksmyth
Date: Fri Jan 20 16:18:51 2012
New Revision: 1811

Log:
Refactor

Modified:
   trunk/GME/Mga/MgaAttribute.cpp

Modified: trunk/GME/Mga/MgaAttribute.cpp
==============================================================================
--- trunk/GME/Mga/MgaAttribute.cpp	Fri Jan 20 16:18:36 2012	(r1810)
+++ trunk/GME/Mga/MgaAttribute.cpp	Fri Jan 20 16:18:51 2012	(r1811)
@@ -555,11 +555,9 @@
 	}
 
 	CComVariant attr = fco->self[ATTRID_REGNODE];
-	CComPtr<ICoreDictionaryAttributeValue> oldval;
-	COMTHROW(attr.pdispVal->QueryInterface(&oldval));
+	CComPtr<ICoreDictionaryAttributeValue> newval;
+	COMTHROW(attr.pdispVal->QueryInterface(&newval));
 
-	CComPtr<ICoreDictionaryAttributeValue> newval = oldval;
-	//COMTHROW(oldval->Clone(&newval));
 	VARIANT vmap;
 	COMTHROW(newval->get_Map(&vmap));
 	map_type* map = (map_type*)(void*)vmap.llVal;


More information about the gme-commit mailing list