[commit] r1906 - trunk/GME/XmlBackEnd

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Apr 18 18:26:48 CDT 2012


Author: ksmyth
Date: Wed Apr 18 18:26:47 2012
New Revision: 1906

Log:
Fail fast if not root object is on disk

Modified:
   trunk/GME/XmlBackEnd/CoreXmlFile.cpp

Modified: trunk/GME/XmlBackEnd/CoreXmlFile.cpp
==============================================================================
--- trunk/GME/XmlBackEnd/CoreXmlFile.cpp	Wed Apr 18 18:26:37 2012	(r1905)
+++ trunk/GME/XmlBackEnd/CoreXmlFile.cpp	Wed Apr 18 18:26:47 2012	(r1906)
@@ -1653,6 +1653,8 @@
 			*ro_mode = VARIANT_FALSE;
 
 		CloseProgressWindow();
+		if (m_root == NULL)
+			return E_FILEOPEN;
 
 	}
 	COMCATCH(CloseProgressWindow();)


More information about the gme-commit mailing list