diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-02-16 10:54:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-02-16 20:32:02 +0000 |
commit | 8c1a3422dbce3236ca310e0541ca9d1ead2fc166 (patch) | |
tree | 2effc03799c40db51931574e9be4553de76ead52 /include/sfx2/request.hxx | |
parent | 7bdc09ffa44e85544d38131702c4264f006c039d (diff) |
SfxRequest::GetMacroRecorder arg is always derefed before passed
so null can never be seen in the function
Change-Id: Iebe25ca26aa3f2105e4e20a0742c6cccbbf8b182
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147150
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/request.hxx')
-rw-r--r-- | include/sfx2/request.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx index 2d5939758eec..966974498065 100644 --- a/include/sfx2/request.hxx +++ b/include/sfx2/request.hxx @@ -98,7 +98,7 @@ public: void SetReturnValue(const SfxPoolItem &); const SfxPoolItem* GetReturnValue() const; - static css::uno::Reference< css::frame::XDispatchRecorder > GetMacroRecorder( SfxViewFrame const * pFrame ); + static css::uno::Reference< css::frame::XDispatchRecorder > GetMacroRecorder(const SfxViewFrame& rFrame); static bool HasMacroRecorder(const SfxViewFrame& rFrame); SfxCallMode GetCallMode() const; void AllowRecording( bool ); |