[commit] r1418 - trunk/GME/Core

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Jul 20 13:38:27 CDT 2011


Author: ksmyth
Date: Wed Jul 20 13:38:27 2011
New Revision: 1418

Log:
Fewer exceptions

Modified:
   trunk/GME/Core/CoreTerritory.cpp

Modified: trunk/GME/Core/CoreTerritory.cpp
==============================================================================
--- trunk/GME/Core/CoreTerritory.cpp	Tue Jul 19 17:10:19 2011	(r1417)
+++ trunk/GME/Core/CoreTerritory.cpp	Wed Jul 20 13:38:27 2011	(r1418)
@@ -137,7 +137,9 @@
 			++i;
 		}
 
-		COMTHROW( project->BeginTransaction(TRANSTYPE_READANY) );
+		HRESULT hr = project->BeginTransaction(TRANSTYPE_READANY);
+		if (FAILED(hr))
+			COMRETURN(hr);
 
 		try
 		{


More information about the gme-commit mailing list