[commit] r1230 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Mar 30 14:29:00 CDT 2011


Author: ksmyth
Date: Wed Mar 30 14:29:00 2011
New Revision: 1230

Log:
Use PutOut

Modified:
   trunk/GME/Gme/GMEView.cpp

Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp	Wed Mar 30 14:27:44 2011	(r1229)
+++ trunk/GME/Gme/GMEView.cpp	Wed Mar 30 14:29:00 2011	(r1230)
@@ -221,7 +221,7 @@
 				CGuiConnection *conn = CGuiFco::FindConnection(fco,view->connections);
 				if(guiObj) {
 					if(eventmask & OBJEVENT_PROPERTIES) {
-						COMTHROW(object->get_Name(PutOut(guiObj->GetName()));
+						COMTHROW(object->get_Name(PutOut(guiObj->GetName())));
 						view->Invalidate();
 					}
 				}
@@ -1008,7 +1008,7 @@
 		CComPtr<IMgaMetaFCO> meta;
 		COMTHROW(currentModel->get_Meta(&meta));
 		COMTHROW(meta->get_Name(PutOut(kindName)));
-		COMTHROW(meta->get_DisplayedName(PutOut(kindDisplayedName));
+		COMTHROW(meta->get_DisplayedName(PutOut(kindDisplayedName)));
 
 		CComBSTR modid;
 		COMTHROW( currentModel->get_ID( &modid));
@@ -1791,6 +1791,7 @@
 		((CGuiSet *)guiFco)->InitObject(this);
 		((CGuiSet *)guiFco)->SetAspect(currentAspect->index);
 		if (objList != NULL && !currentSetID.IsEmpty()) {
+			CString setID;
 			fco->get_ID(PutOut(setID));
 			if(setID == currentSetID) {
 				if (guiFco != NULL)
@@ -1852,6 +1853,7 @@
 
 		CComBSTR pathBstr = MODELAUTOROUTING;
 		CComBSTR bstrVal;
+		CString val;
 		COMTHROW(currentModel->get_RegistryValue(pathBstr, PutOut(val)));
 		if (!val.IsEmpty()) {
 			if (val == "false")


More information about the gme-commit mailing list