summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-15 23:58:09 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-02-15 23:58:09 +0100
commit3a16bfa1ff6ece66b912ff003ad3897c47d59263 (patch)
tree9e8c85f67e033bc4c705cc2282c9034a853d6e81 /ucb
parent015d7aafddc017e8d877d509d7f0d608d3ea55c7 (diff)
debuglevels: #i116845# ~OfficeDocumentsManager: don't assert an empty document list
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx6
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.
}
//=========================================================================