[commit] r2486 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon May 5 16:08:02 CDT 2014


Author: ksmyth
Date: Mon May  5 16:08:02 2014
New Revision: 2486

Log:
deleted_object.AbsPath should return FAILED HRESULT, not crash

Modified:
   trunk/GME/Mga/MgaFCO.cpp

Modified: trunk/GME/Mga/MgaFCO.cpp
==============================================================================
--- trunk/GME/Mga/MgaFCO.cpp	Mon May  5 13:03:41 2014	(r2485)
+++ trunk/GME/Mga/MgaFCO.cpp	Mon May  5 16:08:02 2014	(r2486)
@@ -491,6 +491,7 @@
 // gives back the path to an object starting from the rootfolder (does not include project name)
 HRESULT FCO::get_AbsPath(BSTR *pVal)		{ 
 	COMTRY {
+		CheckRead();
 		CComBSTR path("");
 
 		CoreObj par = self[ATTRID_PARENT];


More information about the gme-commit mailing list