Commit cdd9bf01 authored by Mark Kaplan's avatar Mark Kaplan Committed by Albert Astals Cid
Browse files

Initialize properly OptionalContentGroup::m_name

parent c7b87f3b
......@@ -6,6 +6,7 @@
// Copyright 2008 Pino Toscano <pino@kde.org>
// Copyright 2008 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright 2008 Albert Astals Cid <aacid@kde.org>
// Copyright 2008 Mark Kaplan <mkaplan@finjan.com>
//
// Released under the GPL (version 2, or later, at your option)
//
......@@ -284,7 +285,7 @@ bool OCGs::anyOff( Array *ocgArray )
//------------------------------------------------------------------------
OptionalContentGroup::OptionalContentGroup(Dict *ocgDict, XRef *xrefA)
OptionalContentGroup::OptionalContentGroup(Dict *ocgDict, XRef *xrefA) : m_name(NULL)
{
Object ocgName;
ocgDict->lookupNF("Name", &ocgName);
......
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