Robuuster met koffie.dwf (bitmap only dwf)

svn path=/Slnkdwf/trunk/; revision=12542
This commit is contained in:
Jos Groot Lipman
2012-06-01 17:37:58 +00:00
parent ad7cab520f
commit b25f840f00

View File

@@ -132,8 +132,7 @@ STDMETHODIMP CEPlotSectionImpl::Open(BOOL bForWrite)
DWFCORE_FREE_OBJECT( piResources );
}
myTRACE("%ls", "Illegal EPlot section - no graphics");
return E_FAIL;
throw myCString("Illegal EPlot section - no graphics");
}
//
@@ -156,8 +155,7 @@ STDMETHODIMP CEPlotSectionImpl::Open(BOOL bForWrite)
if (pW2D == NULL)
{
myTRACE("%ls", L"Type mismatch - not a W2D resource");
return E_FAIL;
throw myCString("Type mismatch - not a W2D resource");
}
if (pW2D->mime() != DWFCore::DWFMIME::kzMIMEType_W2D)