summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-02-16 10:50:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-02-16 19:18:29 +0000
commit3e36caa1ec24a465a0918dd63976dfd970a41c1d (patch)
tree172c0f25cc47b41a3ee039727482070f058e4e7e /include
parent55a5e9baa5a707b04aeda7b1ea4dc983483d5ce3 (diff)
HasMacroRecorder can take a reference, never passed null
Change-Id: I213f2d93e49f03e88a5357af8fead32b97b2c37b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147149 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/request.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/request.hxx b/include/sfx2/request.hxx
index 5a97cb9e61b8..2d5939758eec 100644
--- a/include/sfx2/request.hxx
+++ b/include/sfx2/request.hxx
@@ -99,7 +99,7 @@ public:
const SfxPoolItem* GetReturnValue() const;
static css::uno::Reference< css::frame::XDispatchRecorder > GetMacroRecorder( SfxViewFrame const * pFrame );
- static bool HasMacroRecorder( SfxViewFrame const * pFrame );
+ static bool HasMacroRecorder(const SfxViewFrame& rFrame);
SfxCallMode GetCallMode() const;
void AllowRecording( bool );
bool AllowsRecording() const;