diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-15 19:30:18 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2024-04-15 23:18:56 +0200 |
commit | da505b6ee43c8a39ae12d49483d25ac1819882e8 (patch) | |
tree | 585620246846936137f0e5785d25a15797f79b09 /include | |
parent | 68de0b2d2db7c716562f25591718b98f097cc3e9 (diff) |
null-deref in SfxViewShell::isBlockedCommand
Change-Id: I43db7fabcc32971f951cc72dc9b1d22eba8df357
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166134
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/viewsh.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 8b8a21f77741..e68f556c1072 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -485,7 +485,7 @@ public: // Blocked Command view settings void setBlockedCommandList(const char* blockedCommandList); - bool isBlockedCommand(OUString command); + bool isBlockedCommand(OUString command) const; void SetStoringHelper(std::shared_ptr<SfxStoringHelper> xHelper) { m_xHelper = xHelper; } |