diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-15 23:58:09 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-02-15 23:58:09 +0100 |
commit | 3a16bfa1ff6ece66b912ff003ad3897c47d59263 (patch) | |
tree | 9e8c85f67e033bc4c705cc2282c9034a853d6e81 /ucb | |
parent | 015d7aafddc017e8d877d509d7f0d608d3ea55c7 (diff) |
debuglevels: #i116845# ~OfficeDocumentsManager: don't assert an empty document list
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_docmgr.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx index 46aa1ae69ec3..261bedb7b4f9 100644 --- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx +++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx @@ -84,7 +84,11 @@ OfficeDocumentsManager::OfficeDocumentsManager( // virtual OfficeDocumentsManager::~OfficeDocumentsManager() { - OSL_ENSURE( m_aDocs.empty(), "document list not empty!" ); + //OSL_ENSURE( m_aDocs.empty(), "document list not empty!" ); + // no need to assert this: Normal shutdown of OOo could already trigger it, since the order in which + // objects are actually released/destroyed upon shutdown is not defined. And when we arrive *here*, + // OOo *is* shutting down currently, since we're held by the TDOC provider, which is disposed + // upon shutdown. } //========================================================================= |