Commit 38422a43 authored by Albert Astals Cid's avatar Albert Astals Cid

OptionalContent: constify

parent d2ccd7f9
......@@ -137,7 +137,7 @@ OCDisplayNode *OCGs::getDisplayRoot()
return display.get();
}
bool OCGs::optContentIsVisible( Object *dictRef )
bool OCGs::optContentIsVisible( const Object *dictRef )
{
Dict *dict;
bool result = true;
......
......@@ -53,7 +53,7 @@ public:
Array* getRBGroupsArray()
{ return (rbgroups.isArray() && rbgroups.arrayGetLength()) ? rbgroups.getArray() : nullptr; }
bool optContentIsVisible( Object *dictRef );
bool optContentIsVisible( const Object *dictRef );
private:
bool ok;
......
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