summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-10-18 07:46:48 +0000
committerRüdiger Timm <rt@openoffice.org>2005-10-18 07:46:48 +0000
commitebad3b20d2518436b358457650682406e336fe31 (patch)
tree645acd7f5baa707ea4b939bfa55769ef0839bf55 /ucb
parent501444250ca810f6cd958509c33104215ae70796 (diff)
INTEGRATION: CWS kso201bugs01 (1.8.24); FILE MERGED
2005/10/06 09:35:10 kso 1.8.24.2: RESYNC: (1.8-1.9); FILE MERGED 2005/08/24 15:31:43 kso 1.8.24.1: #i49951# - now reacts on OnCreate/OnLoadFinished events instead of OnNew/OnLoad Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index fd3e3697890f..b5bed3b56e44 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tdoc_docmgr.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 16:00:05 $
+ * last change: $Author: rt $ $Date: 2005-10-18 08:46:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -242,9 +242,9 @@ void SAL_CALL OfficeDocumentsManager::notifyEvent(
*/
if ( Event.EventName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( "OnLoad" ) ) // document loaded
+ RTL_CONSTASCII_STRINGPARAM( "OnLoadFinished" ) ) // document loaded
|| Event.EventName.equalsAsciiL(
- RTL_CONSTASCII_STRINGPARAM( "OnNew" ) ) ) // document created
+ RTL_CONSTASCII_STRINGPARAM( "OnCreate" ) ) ) // document created
{
if ( isOfficeDocument( Event.Source ) )
{
@@ -284,7 +284,7 @@ void SAL_CALL OfficeDocumentsManager::notifyEvent(
// Propagate document closure.
OSL_ENSURE( m_pDocEventListener,
- "OnLoad/OnNew event: no owner for insert event propagation!" );
+ "OnLoadFinished/OnCreate event: no owner for insert event propagation!" );
if ( m_pDocEventListener )
m_pDocEventListener->notifyDocumentOpened( aDocId );