diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-09 08:51:50 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-09 12:42:07 +0000 |
commit | 40ca34340e4b387bdce92b86cb572556c5437c7d (patch) | |
tree | 9557a89649e14b3a12735b4996069eee7bc294a3 /include | |
parent | 6363f7277fc9efc86ac699d0ea973021ed2b652c (diff) |
tdf#100260 Template Manager: Cannot open context menu without mouse
Change-Id: I900cc79e2834c1942840ee9fb1a8ab680b646c92
Reviewed-on: https://gerrit.libreoffice.org/26082
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/templateabstractview.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/templatedlg.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index a220f5a5edaa..79ec353792e1 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx @@ -97,7 +97,7 @@ public: void setOpenRegionHdl(const Link<void*,void> &rLink); - void setRightClickHdl(const Link<ThumbnailViewItem*,void> &rLink); + void setCreateContextMenuHdl(const Link<ThumbnailViewItem*,void> &rLink); void setOpenTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink); @@ -140,7 +140,7 @@ protected: Point maPosition; Link<void*,void> maOpenRegionHdl; - Link<ThumbnailViewItem*,void> maRightClickHdl; + Link<ThumbnailViewItem*,void> maCreateContextMenuHdl; Link<ThumbnailViewItem*,void> maOpenTemplateHdl; Link<ThumbnailViewItem*,void> maEditTemplateHdl; Link<ThumbnailViewItem*,void> maDeleteTemplateHdl; diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx index 26e6959db8d6..3b7f2b914583 100644 --- a/include/sfx2/templatedlg.hxx +++ b/include/sfx2/templatedlg.hxx @@ -81,7 +81,7 @@ protected: DECL_LINK_TYPED(DefaultTemplateMenuSelectHdl, Menu*, bool); DECL_LINK_TYPED(OpenRegionHdl, void*, void); - DECL_LINK_TYPED(RightClickHdl, ThumbnailViewItem*, void); + DECL_LINK_TYPED(CreateContextMenuHdl, ThumbnailViewItem*, void); DECL_LINK_TYPED(OpenTemplateHdl, ThumbnailViewItem*, void); DECL_LINK_TYPED(EditTemplateHdl, ThumbnailViewItem*, void); DECL_LINK_TYPED(DeleteTemplateHdl, ThumbnailViewItem*, void); |