diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-27 14:28:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-27 14:28:11 +0100 |
commit | 512de6e75d34d2144392d1e78c25446f2d0b3a35 (patch) | |
tree | b658dbe0bb7c5a5d489e1b9cee95b9d92c994a6b /store | |
parent | 1e1de355713d1035e172f2a3cd299fd3a1154130 (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 'store')
-rw-r--r-- | store/workben/t_store.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/store/workben/t_store.cxx b/store/workben/t_store.cxx index 7a44fb9a3704..160d3d80883c 100644 --- a/store/workben/t_store.cxx +++ b/store/workben/t_store.cxx @@ -27,15 +27,6 @@ #include <stdio.h> -#if (defined(WNT) && defined(PROFILE)) -extern "C" -{ - void StartCAP (void); - void StopCAP (void); - void DumpCAP (void); -} -#endif /* PROFILE */ - /*======================================================================== * * Internals. @@ -213,11 +204,7 @@ sal_Bool DirectoryTraveller::visit (const iter& it) *======================================================================*/ int SAL_CALL main (int argc, char **argv) { -#if (defined(WNT) && defined(PROFILE)) - StartCAP(); -#else OTime aMainStartTime (OTime::getSystemTime()); -#endif /* PROFILE */ store::OStoreFile aFile; storeError eErrCode = store_E_None; @@ -557,10 +544,6 @@ int SAL_CALL main (int argc, char **argv) // Done. aFile.close(); -#if (defined(WNT) && defined(PROFILE)) - StopCAP(); - DumpCAP(); -#endif /* PROFILE */ #ifndef PROFILE OTime aDelta (OTime::getSystemTime() - aMainStartTime); |