Commit 9bba2748 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Albert Astals Cid
Browse files

Some more free

parent bfc30893
......@@ -40,6 +40,8 @@ OCGs::OCGs(Object *ocgObject, XRef *xref) :
ocgObject->dictLookup("OCGs", &ocgList);
if (!ocgList.isArray()) {
error(-1, "Expected the optional content group list, but wasn't able to find it, or it isn't an Array");;
// we now enumerate over the ocgList, and build up the optionalContentGroups list.
......@@ -65,6 +67,9 @@ OCGs::OCGs(Object *ocgObject, XRef *xref) :
ocgObject->dictLookup("D", &defaultOcgConfig);
if (!defaultOcgConfig.isDict()) {
error(-1, "Expected the default config, but wasn't able to find it, or it isn't a Dictionary");;;
#if 0
// this is untested - we need an example showing BaseState
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment