Include windows.h instead of the MFC header afxres.h
[pdfium.git] / fpdfsdk / src / fpdf_progressive.cpp
index b6691af..2490df8 100644 (file)
@@ -49,14 +49,7 @@ DLLEXPORT int STDCALL FPDF_RenderPageBitmap_Start( FPDF_BITMAP bitmap, FPDF_PAGE
 #endif
        IFSDK_PAUSE_Adapter IPauseAdapter(pause);
        
-       if (flags & FPDF_NO_CATCH)
-               Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter);
-       else {
-               try {
-                       Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter);
-                       }
-               catch (...){}
-       }
+       Func_RenderPage(pContext, page, start_x, start_y, size_x, size_y, rotate, flags,FALSE, &IPauseAdapter);
 
        if ( pContext->m_pRenderer )
        {