summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authordennisroczek <dennisroczek@libreoffice.org>2017-04-01 15:26:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-04-27 22:20:40 +0200
commit91a1342aa2930268006614680ec439c6ebecdedb (patch)
tree922a2e7ec859c5498ce45bc167f5c496a795c7e0 /ucb
parentbfc54ba3d2ac7f7ff40f8b3e95a6bd9b74bcd0c5 (diff)
tdf#39468 cleanup source code comments
* translate German source code comments * remove ascii art * remove bogus source Code comments * remove old StarOffice/Sun internal bug tracker references Change-Id: I443bf2fdba3780c411d69809111daf3aa3a48451 Reviewed-on: https://gerrit.libreoffice.org/36005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx18
1 files changed, 5 insertions, 13 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index 3c81aa249115..d03b789821ca 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -18,12 +18,6 @@
*/
-/**************************************************************************
- TODO
- **************************************************************************
-
- *************************************************************************/
-
#include "osl/diagnose.h"
#include "rtl/ref.hxx"
#include "cppuhelper/weak.hxx"
@@ -107,10 +101,10 @@ OfficeDocumentsManager::OfficeDocumentsManager(
OfficeDocumentsManager::~OfficeDocumentsManager()
{
//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.
+ // no need to assert this: Normal shutdown of LibreOffice could already trigger it, since the order
+ // in which objects are actually released/destroyed upon shutdown is not defined. And when we
+ // arrive *here*, LibreOffice *is* shutting down currently, since we're held by the TDOC provider,
+ // which is disposed upon shutdown.
m_xDocCloseListener->Dispose();
}
@@ -248,7 +242,7 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
{
// Document has been closed (unloaded)
- // #163732# - Official event "OnUnload" does not work here. Event
+ // Official event "OnUnload" does not work here. Event
// gets fired to early. Other OnUnload listeners called after this
// listener may still need TDOC access to the document. Remove the
// document from TDOC docs list on XCloseListener::notifyClosing.
@@ -418,8 +412,6 @@ void SAL_CALL OfficeDocumentsManager::documentEventOccured(
// *after* OnUnload and all other On* events.
// In agreement with MBA, the implementation for SfxBaseModel::Close should be changed to also send notifyClosing
// as last event. When this happens, the assertion here must be enabled, again.
- // There is no bug for this, yet - IZ is currently down due to the Kenai migration.
- // 2011-02-23 / frank.schoenheit@sun.com
}
}
}