summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmodel.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-10-11 12:55:09 +0000
committerArmin Weiss <aw@openoffice.org>2001-10-11 12:55:09 +0000
commit737978aaa05136be8f476bea00ca3b01c7468791 (patch)
treea0dda625fcedda707a96242b9393fe97f99d549f /svx/source/svdraw/svdmodel.cxx
parent332496a5811e1f4615a4b2ddbae483889de6e3e4 (diff)
#93069# profiling support for drawing layer startup
Diffstat (limited to 'svx/source/svdraw/svdmodel.cxx')
-rw-r--r--svx/source/svdraw/svdmodel.cxx32
1 files changed, 30 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index af454d34a340..5e200d44de71 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdmodel.cxx,v $
*
- * $Revision: 1.35 $
+ * $Revision: 1.36 $
*
- * last change: $Author: ka $ $Date: 2001-09-13 09:40:42 $
+ * last change: $Author: aw $ $Date: 2001-10-11 13:55:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,6 +59,10 @@
*
************************************************************************/
+#ifndef _RTL_LOGFILE_HXX_
+#include <rtl/logfile.hxx>
+#endif
+
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
@@ -420,6 +424,10 @@ SdrModel::SdrModel(SfxItemPool* pPool, SvPersist* pPers, INT32 bLoadRefCounts):
aPages(1024,32,32),
aMaPag(1024,32,32)
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::SdrModel(...)" );
+#endif
+
DBG_CTOR(SdrModel,NULL);
ImpCtor(pPool,pPers,FALSE, (FASTBOOL)bLoadRefCounts);
}
@@ -430,6 +438,10 @@ SdrModel::SdrModel(const String& rPath, SfxItemPool* pPool, SvPersist* pPers, IN
aMaPag(1024,32,32),
aTablePath(rPath)
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::SdrModel(...)" );
+#endif
+
DBG_CTOR(SdrModel,NULL);
ImpCtor(pPool,pPers,FALSE, (FASTBOOL)bLoadRefCounts);
}
@@ -439,6 +451,10 @@ SdrModel::SdrModel(SfxItemPool* pPool, SvPersist* pPers, FASTBOOL bUseExtColorTa
aPages(1024,32,32),
aMaPag(1024,32,32)
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::SdrModel(...)" );
+#endif
+
DBG_CTOR(SdrModel,NULL);
ImpCtor(pPool,pPers,bUseExtColorTable, (FASTBOOL)bLoadRefCounts);
}
@@ -449,6 +465,10 @@ SdrModel::SdrModel(const String& rPath, SfxItemPool* pPool, SvPersist* pPers, FA
aMaPag(1024,32,32),
aTablePath(rPath)
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::SdrModel(...)" );
+#endif
+
DBG_CTOR(SdrModel,NULL);
ImpCtor(pPool,pPers,bUseExtColorTable, (FASTBOOL)bLoadRefCounts);
}
@@ -457,12 +477,20 @@ SdrModel::SdrModel(const SdrModel& rSrcModel):
aPages(1024,32,32),
aMaPag(1024,32,32)
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::SdrModel(...)" );
+#endif
+
// noch nicht implementiert
DBG_ERROR("SdrModel::CopyCtor() ist noch nicht implementiert");
}
SdrModel::~SdrModel()
{
+#ifdef TIMELOG
+ RTL_LOGFILE_CONTEXT_AUTHOR ( aLog, "svx", "aw93748", "SdrModel::~SdrModel(...)" );
+#endif
+
DBG_DTOR(SdrModel,NULL);
Broadcast(SdrHint(HINT_MODELCLEARED));