diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-04-14 12:47:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-04-27 09:01:24 +0200 |
commit | 5a7903fcb9e22904cf87117015a78e185de04698 (patch) | |
tree | 60bf3c5ffea1c31abb776381881d2ecff368f8ea /toolkit | |
parent | 24418700059d2b6826f800d265f52061c48c34e5 (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114652
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 e503a4585906..18ae78f9f925 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -2562,12 +2562,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() |