[ooo-build-commit] Branch 'ooo/OOO310' - desktop/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Tue Aug 4 18:04:35 PDT 2009
desktop/source/deployment/gui/dp_gui_dialog2.cxx | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
New commits:
commit 0e58d0e32a896533e8f60668bff86074c408ab85
Author: Oliver Bolte <obo at openoffice.org>
Date: Tue Aug 4 13:26:02 2009 +0000
CWS-TOOLING: integrate CWS extmgr04
2009-08-03 15:43:55 +0200 dv r274583 : #i103933# added patch flag to deploymentgui library
2009-07-31 17:33:31 +0200 dv r274543 : #i103933# Fixed crash on shutdown of office for macintosh version
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 3877c46..988b879 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -190,9 +190,7 @@ Entry_Impl::Entry_Impl( const uno::Reference< deployment::XPackage > &xPackage,
//------------------------------------------------------------------------------
Entry_Impl::~Entry_Impl()
-{
- delete m_pPublisher;
-}
+{}
//------------------------------------------------------------------------------
StringCompare Entry_Impl::CompareTo( const CollatorWrapper *pCollator, const TEntry_Impl pEntry ) const
@@ -461,6 +459,19 @@ ExtensionBox_Impl::ExtensionBox_Impl( ExtMgrDialog* pParent, TheExtensionManager
//------------------------------------------------------------------------------
ExtensionBox_Impl::~ExtensionBox_Impl()
{
+ typedef std::vector< TEntry_Impl >::iterator ITER;
+
+ for ( ITER iIndex = m_vEntries.begin(); iIndex < m_vEntries.end(); ++iIndex )
+ {
+ if ( (*iIndex)->m_pPublisher )
+ {
+ delete (*iIndex)->m_pPublisher;
+ (*iIndex)->m_pPublisher = NULL;
+ }
+ }
+
+ m_vEntries.clear();
+
delete m_pOptionsBtn;
delete m_pEnableBtn;
delete m_pRemoveBtn;
More information about the ooo-build-commit
mailing list