[GME-commit] GMESRC/GME/Gme GMEOLEIt.cpp,1.2,1.3

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Wed Jun 15 23:25:43 CDT 2005


Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv19116

Modified Files:
	GMEOLEIt.cpp 
Log Message:
Wrong parameter used in Duplicate().


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: GMEOLEIt.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEOLEIt.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GMEOLEIt.cpp	12 May 2005 01:29:25 -0000	1.2
--- GMEOLEIt.cpp	15 Jun 2005 22:25:41 -0000	1.3
***************
*** 1162,1166 ****
  		CComQIPtr<IMgaModel> model( putInTerr( m_theMgaModel));
  		THROW_IF_NULL( model, _T("Invalid parent model"));
! 		CComPtr<IMgaFCO> exist_obj( getChildInByName( model, p_objName));
  		THROW_IF_NULL( exist_obj, _T("Duplicable object not found"));
  		cloneObjs( model, exist_obj, "" , p_objName, &obj_ptr);
--- 1162,1166 ----
  		CComQIPtr<IMgaModel> model( putInTerr( m_theMgaModel));
  		THROW_IF_NULL( model, _T("Invalid parent model"));
! 		CComPtr<IMgaFCO> exist_obj( getChildInByName( model, p_existingObjName));
  		THROW_IF_NULL( exist_obj, _T("Duplicable object not found"));
  		cloneObjs( model, exist_obj, "" , p_objName, &obj_ptr);



More information about the GME-commit mailing list