[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/koffice-essen/filters/libmsooxml
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-11-16 5:31:30
Message-ID: 20101116053130.87AD0AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1197577 by clicea:

Initialize all members for consistency.
Delete when proper so that we don't leak.

 M  +4 -0      MsooXmlDrawingTableStyle.cpp  


--- branches/work/koffice-essen/filters/libmsooxml/MsooXmlDrawingTableStyle.cpp #1197576:1197577
@@ -223,11 +223,14 @@
 }
 
 TableStyle::TableStyle()
+: m_id()
+, m_properties()
 {
 }
 
 TableStyle::~TableStyle()
 {
+    qDeleteAll(m_properties.values());
 }
 
 void TableStyle::setId(const QString& id)
@@ -251,6 +254,7 @@
 }
 
 TableStyleList::TableStyleList()
+: m_styles()
 {
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic