[poppler] poppler/OptionalContent.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Wed Oct 8 13:30:29 PDT 2008


 poppler/OptionalContent.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit cdd9bf016de0d3f96b1d5e304c9d02f2bf71ff18
Author: Mark Kaplan <mkaplan at finjan.com>
Date:   Wed Oct 8 22:29:11 2008 +0200

    Initialize properly OptionalContentGroup::m_name

diff --git a/poppler/OptionalContent.cc b/poppler/OptionalContent.cc
index 5e94c24..0e2a65e 100644
--- a/poppler/OptionalContent.cc
+++ b/poppler/OptionalContent.cc
@@ -6,6 +6,7 @@
 // Copyright 2008 Pino Toscano <pino at kde.org>
 // Copyright 2008 Carlos Garcia Campos <carlosgc at gnome.org>
 // Copyright 2008 Albert Astals Cid <aacid at kde.org>
+// Copyright 2008 Mark Kaplan <mkaplan at 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);


More information about the poppler mailing list