[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - comphelper/source

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 26 13:11:49 UTC 2021


 comphelper/source/misc/profilezone.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 889db9211d66f9300d9b4b79a1947d018f6ce661
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Apr 26 15:23:09 2021 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Mon Apr 26 15:11:17 2021 +0200

    g_nStartTime was unused
    
    Change-Id: I2f4371825f7c528a081e42ee157b21b7fd73b2f6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114660
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/comphelper/source/misc/profilezone.cxx b/comphelper/source/misc/profilezone.cxx
index 3c586568a0dc..7b59aa7cc8f7 100644
--- a/comphelper/source/misc/profilezone.cxx
+++ b/comphelper/source/misc/profilezone.cxx
@@ -26,16 +26,12 @@ int ProfileZone::s_nNesting = 0; // level of overlapped zones
 namespace
 {
     std::vector<OUString> g_aRecording; // recorded data
-    long long g_nStartTime;   // start time of recording
     ::osl::Mutex g_aMutex;
 }
 
 void ProfileZone::startRecording()
 {
-    TimeValue aSystemTime;
-    osl_getSystemTime(&aSystemTime );
     ::osl::MutexGuard aGuard(g_aMutex);
-    g_nStartTime = static_cast<long long>(aSystemTime.Seconds) * 1000000 + aSystemTime.Nanosec/1000;
     s_nNesting = 0;
     s_bRecording = true;
 }


More information about the Libreoffice-commits mailing list