diff options
Diffstat (limited to 'src/utilcode/posterror.cpp')
-rw-r--r-- | src/utilcode/posterror.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/utilcode/posterror.cpp b/src/utilcode/posterror.cpp index 63ce100fd2..3c97db7ea2 100644 --- a/src/utilcode/posterror.cpp +++ b/src/utilcode/posterror.cpp @@ -84,13 +84,11 @@ HRESULT UtilLoadResourceString(CCompRC::ResourceCategory eCategory, UINT iResour { DISABLED(NOTHROW); GC_NOTRIGGER; - SO_TOLERANT; } CONTRACTL_END; HRESULT retVal = E_OUTOFMEMORY; - BEGIN_SO_INTOLERANT_CODE_NO_THROW_CHECK_THREAD(return COR_E_STACKOVERFLOW); SString::Startup(); EX_TRY { @@ -108,8 +106,6 @@ HRESULT UtilLoadResourceString(CCompRC::ResourceCategory eCategory, UINT iResour } EX_END_CATCH(SwallowAllExceptions); - END_SO_INTOLERANT_CODE; - return retVal; } @@ -127,13 +123,11 @@ STDAPI UtilLoadStringRCEx( { DISABLED(NOTHROW); GC_NOTRIGGER; - SO_TOLERANT; } CONTRACTL_END; HRESULT retVal = E_OUTOFMEMORY; - BEGIN_SO_INTOLERANT_CODE_NO_THROW_CHECK_THREAD(return COR_E_STACKOVERFLOW); EX_TRY { SString::Startup(); @@ -150,7 +144,6 @@ STDAPI UtilLoadStringRCEx( retVal = E_OUTOFMEMORY; } EX_END_CATCH(SwallowAllExceptions); - END_SO_INTOLERANT_CODE; return retVal; } |