diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-02 09:16:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-02 14:20:57 +0200 |
commit | 947150821e985c255f6c802322e696eff4257a5d (patch) | |
tree | a15b4716a91e9f5306fb02cea3c661cb91852619 /include/svx | |
parent | d50eea97b3d2e1e1e47f7cdad4cb0c24fb0ed26d (diff) |
extend popup handler to cover all CommandEvents
Change-Id: I26360ce5c696d0e571385d83a15876eb2286e12f
Reviewed-on: https://gerrit.libreoffice.org/80021
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/SvxPresetListBox.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx index 4f6f251f48df..9ba47b655853 100644 --- a/include/svx/SvxPresetListBox.hxx +++ b/include/svx/SvxPresetListBox.hxx @@ -41,7 +41,7 @@ public: SvxPresetListBox(std::unique_ptr<weld::ScrolledWindow> pWindow); virtual void Resize() override; - virtual bool ContextMenu(const CommandEvent& rEvent) override; + virtual bool Command(const CommandEvent& rEvent) override; static sal_uInt32 getColumnCount() { return nColCount; } Size const & GetIconSize() const { return aIconSize; } |