diff options
author | jp <jp@openoffice.org> | 2001-07-31 15:51:57 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-07-31 15:51:57 +0000 |
commit | c27d5b1e6b35545e9bc2c7a331c48dd7a48492f6 (patch) | |
tree | 09106efbd90421c1357a1e8be70d649ad74c180f | |
parent | 06baa0d3c72d2481dfa1ae3caa127ce4fae02603 (diff) |
Task #90434#: add author to the profiling statements
-rw-r--r-- | sw/source/core/doc/docdraw.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/doc/docnew.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/view/vnew.cxx | 13 | ||||
-rw-r--r-- | sw/source/ui/app/docsh.cxx | 14 | ||||
-rw-r--r-- | sw/source/ui/app/docshini.cxx | 14 | ||||
-rw-r--r-- | sw/source/ui/app/swdll.cxx | 6 | ||||
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 6 |
8 files changed, 37 insertions, 34 deletions
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx index 49f924b4e7ce..138f24911152 100644 --- a/sw/source/core/doc/docdraw.cxx +++ b/sw/source/core/doc/docdraw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docdraw.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:20:51 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:51:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -466,7 +466,7 @@ _ZSortFly::_ZSortFly( const SwFrmFmt* pFrmFmt, const SwFmtAnchor* pFlyAn, void SwDoc::InitDrawModel() { - RTL_LOGFILE_CONTEXT( aLog, "SwDoc::InitDrawModel" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDoc::InitDrawModel" ); //!!Achtung im sw3-Reader (sw3imp.cxx) gibt es aehnlichen Code, der //mitgepfelgt werden muss. diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 8998b1973e59..4a8ce390c49c 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docfmt.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:20:51 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:51:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2124,7 +2124,7 @@ SwTableLineFmt* SwDoc::MakeTableLineFmt() void SwDoc::_CreateNumberFormatter() { - RTL_LOGFILE_CONTEXT( aLog, "SwDoc::_CreateNumberFormatter" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDoc::_CreateNumberFormatter" ); ASSERT( !pNumberFormatter, "ist doch schon vorhanden" ); diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx index 8020b1a5c740..00fb2fd8caa0 100644 --- a/sw/source/core/doc/docnew.cxx +++ b/sw/source/core/doc/docnew.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docnew.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:20:51 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:51:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -329,7 +329,7 @@ SwDoc::SwDoc() : nLinkUpdMode( GLOBALSETTING ), nFldUpdMode( AUTOUPD_GLOBALSETTING ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDoc::SwDoc" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDoc::SwDoc" ); bGlossDoc = bModified = diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index fb805b35e679..7071a3f55700 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -2,9 +2,9 @@ * * $RCSfile: vnew.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:18:16 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:51:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -129,7 +129,7 @@ void ViewShell::Init( const SwViewOption *pNewOpt ) { - RTL_LOGFILE_CONTEXT( aLog, "ViewShell::Init" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "ViewShell::Init" ); bDocSizeChgd = FALSE; @@ -215,7 +215,7 @@ ViewShell::ViewShell( SwDoc& rDocument, Window *pWindow, pImp( new SwViewImp( this ) ), aBrowseBorder() { - RTL_LOGFILE_CONTEXT( aLog, "ViewShell::SwViewShell" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "ViewShell::SwViewShell" ); bPaintInProgress = bViewLocked = bInEndAction = bFrameView = bEndActionByVirDev = FALSE; @@ -267,7 +267,7 @@ ViewShell::ViewShell( ViewShell& rShell, Window *pWindow, pImp( new SwViewImp( this ) ), aBrowseBorder( rShell.GetBrowseBorder() ) { - RTL_LOGFILE_CONTEXT( aLog, "ViewShell::SwViewShell" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "ViewShell::SwViewShell" ); bPaintWorks = bEnableSmooth = TRUE; bPaintInProgress = bViewLocked = bInEndAction = bFrameView = bEndActionByVirDev = FALSE; @@ -394,6 +394,9 @@ SdrView* ViewShell::GetDrawViewWithValidMarkList() /************************************************************************ $Log: not supported by cvs2svn $ + Revision 1.4 2001/07/23 17:18:16 jp + Task #90121#: add profiling statements + Revision 1.3 2000/10/25 12:03:41 jp Spellchecker/Hyphenator are not longer member of the shells diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx index 29cffe500581..854549197f7c 100644 --- a/sw/source/ui/app/docsh.cxx +++ b/sw/source/ui/app/docsh.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docsh.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:15:21 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:49:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -463,7 +463,7 @@ Reader* SwDocShell::StartConvertFrom(SfxMedium& rMedium, SwReader** ppRdr, BOOL SwDocShell::ConvertFrom( SfxMedium& rMedium ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::ConvertFrom" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::ConvertFrom" ); SwReader* pRdr; SwRead pRead = StartConvertFrom(rMedium, &pRdr); @@ -532,7 +532,7 @@ BOOL SwDocShell::ConvertFrom( SfxMedium& rMedium ) BOOL SwDocShell::Save() { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::Save" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::Save" ); sal_Bool bXML = pIo->GetStorage()->GetVersion() >= SOFFICE_FILEFORMAT_60; SwWait aWait( *this, TRUE ); @@ -622,7 +622,7 @@ BOOL SwDocShell::Save() BOOL SwDocShell::SaveAs( SvStorage * pStor ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::SaveAs" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SaveAs" ); sal_Bool bXML = pStor->GetVersion() >= SOFFICE_FILEFORMAT_60; SwWait aWait( *this, TRUE ); @@ -739,7 +739,7 @@ SwSrcView* lcl_GetSourceView( SwDocShell* pSh ) BOOL SwDocShell::ConvertTo( SfxMedium& rMedium ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::ConvertTo" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::ConvertTo" ); const SfxFilter* pFlt = rMedium.GetFilter(); if( !pFlt ) return FALSE; @@ -987,7 +987,7 @@ void SwDocShell::HandsOff() BOOL SwDocShell::SaveCompleted( SvStorage * pStor ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::SaveCompleted" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SaveCompleted" ); BOOL bRet = SfxInPlaceObject::SaveCompleted( pStor ); if( bRet ) { diff --git a/sw/source/ui/app/docshini.cxx b/sw/source/ui/app/docshini.cxx index edd29f604853..99d6b72947fe 100644 --- a/sw/source/ui/app/docshini.cxx +++ b/sw/source/ui/app/docshini.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docshini.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: os $ $Date: 2001-07-27 08:01:47 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:49:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -270,7 +270,7 @@ using namespace ::rtl; sal_Bool SwDocShell::InitNew( SvStorage * pStor ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::InitNew" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::InitNew" ); sal_Bool bRet = SfxInPlaceObject::InitNew( pStor ); SetMapUnit( MAP_TWIP ); @@ -418,7 +418,7 @@ SwDocShell::SwDocShell(SfxObjectCreateMode eMode) : pView( 0 ), pWrtShell( 0 ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::SwDocShell" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SwDocShell" ); SetShell(this); SetBaseModel(new SwXTextDocument(this)); // wir als BroadCaster werden auch unser eigener Listener @@ -440,7 +440,7 @@ SwDocShell::SwDocShell( SwDoc *pD, SfxObjectCreateMode eMode ): pView( 0 ), pWrtShell( 0 ) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::SwDocShell" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::SwDocShell" ); SetShell(this); SetBaseModel(new SwXTextDocument(this)); // wir als BroadCaster werden auch unser eigener Listener @@ -568,7 +568,7 @@ void SwDocShell::ReactivateModel() sal_Bool SwDocShell::Load(SvStorage* pStor) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::Load" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::Load" ); sal_Bool bRet = sal_False; sal_Bool bXML = pStor->GetVersion() >= SOFFICE_FILEFORMAT_60; if( SfxInPlaceObject::Load( pStor )) @@ -757,7 +757,7 @@ sal_Bool SwDocShell::Load(SvStorage* pStor) sal_Bool SwDocShell::LoadFrom(SvStorage* pStor) { - RTL_LOGFILE_CONTEXT( aLog, "SwDocShell::LoadFrom" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDocShell::LoadFrom" ); sal_Bool bRet = sal_False; if( pDoc ) RemoveLink(); diff --git a/sw/source/ui/app/swdll.cxx b/sw/source/ui/app/swdll.cxx index 06eb6afac6d4..4a4bff5421c8 100644 --- a/sw/source/ui/app/swdll.cxx +++ b/sw/source/ui/app/swdll.cxx @@ -2,9 +2,9 @@ * * $RCSfile: swdll.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:15:21 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:49:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,7 +109,7 @@ void SwDLL::Init() { - RTL_LOGFILE_CONTEXT( aLog, "SwDLL" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwDLL" ); // called directly after loading the DLL // do whatever you want, you may use Sw-DLL too diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index a420a5f3b74f..31b030864e61 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -2,9 +2,9 @@ * * $RCSfile: view.cxx,v $ * - * $Revision: 1.28 $ + * $Revision: 1.29 $ * - * last change: $Author: jp $ $Date: 2001-07-23 17:17:02 $ + * last change: $Author: jp $ $Date: 2001-07-31 16:50:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -807,7 +807,7 @@ SwView::SwView( SfxViewFrame *pFrame, SfxViewShell* pOldSh ) nSelectionType( INT_MAX ), nLastPasteDestination( 0xFFFF ) { - RTL_LOGFILE_CONTEXT( aLog, "SwView::SwView" ); + RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwView::SwView" ); bCenterCrsr = bTopCrsr = bAllwaysShowSel = bTabColFromDoc = bSetTabColFromDoc = bAttrChgNotified = bAttrChgNotifiedWithRegistrations = bVerbsActive = bIsApi = bDrawRotate = bInOuterResizePixel = |