diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-07-27 18:19:54 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-07-27 18:19:54 +0000 |
commit | 8cb6b8d4b47787813b054a0e9656a466de6564a8 (patch) | |
tree | d0911b5047e0869c9002535a5c230b78530cdbaa /sc/source/ui/docshell/docsh2.cxx | |
parent | b7cfb112fdc7c0e922380591470fe15ec050082d (diff) |
#90352# profiling calls
Diffstat (limited to 'sc/source/ui/docshell/docsh2.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh2.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx index aa81e0852248..2ee00787ef23 100644 --- a/sc/source/ui/docshell/docsh2.cxx +++ b/sc/source/ui/docshell/docsh2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: docsh2.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: sab $ $Date: 2001-07-23 15:18:23 $ + * last change: $Author: nn $ $Date: 2001-07-27 19:19:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -88,6 +88,7 @@ #include <svx/asiancfg.hxx> #include <svx/forbiddencharacterstable.hxx> #include <svx/unolingu.hxx> +#include <rtl/logfile.hxx> @@ -109,6 +110,8 @@ using namespace com::sun::star; BOOL __EXPORT ScDocShell::InitNew( SvStorage * pStor ) { + RTL_LOGFILE_CONTEXT( aLog, "calc: (nn) ScDocShell::InitNew" ); + BOOL bRet = SfxInPlaceObject::InitNew( pStor ); aDocument.MakeTable(0); @@ -247,6 +250,8 @@ ScDrawLayer* ScDocShell::MakeDrawLayer() ScDrawLayer* pDrawLayer = aDocument.GetDrawLayer(); if (!pDrawLayer) { + RTL_LOGFILE_CONTEXT( aLog, "calc: (nn) ScDocShell::MakeDrawLayer" ); + aDocument.InitDrawLayer(this); pDrawLayer = aDocument.GetDrawLayer(); InitItems(); // incl. Undo und Basic |