summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-04-14 12:47:14 +0300
committerAndras Timar <andras.timar@collabora.com>2021-04-15 14:41:08 +0200
commit64a115ea0bbe76c974a90ffb615895b222568b84 (patch)
treeb24c9965b539e898d55a7a3523072e9b6fa9e359 /desktop
parent80146da04ce3595aa95f30d7490b83c048b0a000 (diff)
Clarify the ProfileRecording API
Instead of a startRecording(bool) function that is used to also stop recording, have separate startRecording() and stopRecording() functions that do what they say. Change-Id: Ifa9ea0e530d5d38baa52f685fc1dc0029d30d023 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114081 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index bc21a07e5ac5..a484cf607d60 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6151,7 +6151,7 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
// Turn profile zones on early
if (bProfileZones && eStage == SECOND_INIT)
{
- comphelper::ProfileRecording::startRecording(true);
+ comphelper::ProfileRecording::startRecording();
new ProfileZoneDumper();
}