summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-27 14:28:11 +0100
committerMichael Stahl <mstahl@redhat.com>2014-03-27 14:28:11 +0100
commit512de6e75d34d2144392d1e78c25446f2d0b3a35 (patch)
treeb658dbe0bb7c5a5d489e1b9cee95b9d92c994a6b /sfx2
parent1e1de355713d1035e172f2a3cd299fd3a1154130 (diff)
sfx2, sc: remove macros for using Windows NT Call Profiler
Apparently this tool was available for early versions of NT; googling finds a caplib.zip from 1992 but that is missing the CAP.dll so there's no way to use this anyway. http://cd.textfiles.com/cica/cica9308/UNZIPPED/NT/CAPLIB/CAP.TXT Change-Id: I4718af0e175b78bcdad38bbca0fc9579b3b12111
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/inc/sfxtypes.hxx31
1 files changed, 0 insertions, 31 deletions
diff --git a/sfx2/source/inc/sfxtypes.hxx b/sfx2/source/inc/sfxtypes.hxx
index 22d199b3a997..d55e299688b2 100644
--- a/sfx2/source/inc/sfxtypes.hxx
+++ b/sfx2/source/inc/sfxtypes.hxx
@@ -41,37 +41,6 @@
#endif
#endif
-
-
-// Macro for the Call-Profiler under WinNT
-// with S_CAP a measurement can be started, and stopped with E_CAP
-#if defined( WNT ) && defined( PROFILE )
-
-extern "C" {
- void StartCAP();
- void StopCAP();
- void DumpCAP();
-};
-
-#define S_CAP() StartCAP();
-#define E_CAP() StopCAP(); DumpCAP();
-
-struct _Capper
-{
- _Capper() { S_CAP(); }
- ~_Capper() { E_CAP(); }
-};
-
-#define CAP _Capper _aCap_
-
-#else
-
-#define S_CAP()
-#define E_CAP()
-#define CAP
-
-#endif
-
#ifndef DBG
#ifdef DBG_UTIL
#define DBG(statement) statement