summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-04-14 12:47:14 +0300
committerTor Lillqvist <tml@collabora.com>2021-04-27 09:01:24 +0200
commit5a7903fcb9e22904cf87117015a78e185de04698 (patch)
tree60bf3c5ffea1c31abb776381881d2ecff368f8ea /toolkit
parent24418700059d2b6826f800d265f52061c48c34e5 (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.cxx4
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()