summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-04-14 12:47:14 +0300
committerTor Lillqvist <tml@collabora.com>2021-04-14 15:48:05 +0200
commitdd57e1e9de21f05ff2c9c477c1a17ac25cd5bdfe (patch)
tree047f95aea12629e34ac1263cccb141bb626bdde6 /desktop
parent5f18922496ec60255097048d9b00b70fc6ccbba5 (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 8d641cd1383f..c175b2fa02ad 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -6179,7 +6179,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();
}