summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
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.
}
//=========================================================================