Kaydet (Commit) d2d620f4 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS fwk56 (1.28.12); FILE MERGED

2006/11/01 14:14:44 mav 1.28.12.2: #i54892# clear the list of deleted entries
2006/10/31 11:52:46 mav 1.28.12.1: #140583# catch unexpected exceptions
üst efb27e96
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: xstorage.cxx,v $ * $RCSfile: xstorage.cxx,v $
* *
* $Revision: 1.28 $ * $Revision: 1.29 $
* *
* last change: $Author: obo $ $Date: 2006-10-13 11:50:53 $ * last change: $Author: ihi $ $Date: 2006-12-19 14:09:54 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -373,7 +373,7 @@ OStorage_Impl::~OStorage_Impl() ...@@ -373,7 +373,7 @@ OStorage_Impl::~OStorage_Impl()
try { try {
m_pAntiImpl->InternalDispose( sal_False ); m_pAntiImpl->InternalDispose( sal_False );
} }
catch ( uno::RuntimeException& ) catch ( uno::Exception& )
{} {}
m_pAntiImpl = NULL; m_pAntiImpl = NULL;
} }
...@@ -401,6 +401,12 @@ OStorage_Impl::~OStorage_Impl() ...@@ -401,6 +401,12 @@ OStorage_Impl::~OStorage_Impl()
m_aChildrenList.clear(); m_aChildrenList.clear();
for ( SotElementList_Impl::iterator pDeletedIter = m_aDeletedList.begin();
pDeletedIter != m_aDeletedList.end(); pDeletedIter++ )
delete *pDeletedIter;
m_aDeletedList.clear();
if ( m_nStorageType == OFOPXML_STORAGE && m_pRelStorElement ) if ( m_nStorageType == OFOPXML_STORAGE && m_pRelStorElement )
{ {
delete m_pRelStorElement; delete m_pRelStorElement;
......
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