diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-04-14 12:47:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-04-14 15:48:05 +0200 |
commit | dd57e1e9de21f05ff2c9c477c1a17ac25cd5bdfe (patch) | |
tree | 047f95aea12629e34ac1263cccb141bb626bdde6 /toolkit | |
parent | 5f18922496ec60255097048d9b00b70fc6ccbba5 (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 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 2121e14c3e15..95e731beb2df 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -2535,12 +2535,12 @@ void SAL_CALL VCLXToolkit::pause(sal_Int32 nMilliseconds) void SAL_CALL VCLXToolkit::startRecording() { - ::comphelper::ProfileRecording::startRecording(true); + ::comphelper::ProfileRecording::startRecording(); } void SAL_CALL VCLXToolkit::stopRecording() { - ::comphelper::ProfileRecording::startRecording( false ); + ::comphelper::ProfileRecording::stopRecording(); } css::uno::Sequence< OUString > VCLXToolkit::getRecordingAndClear() |