diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-28 13:06:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-28 13:07:03 +0200 |
commit | d5b87dcce119f0cd69e65873833d98ed1660f9d0 (patch) | |
tree | 8cb637f751eef1225487f7a38fefd84b22b5d44d /include/svtools | |
parent | 94ed449247e2256d4163fb4a46b4be2c3f498d60 (diff) |
Return std::unique_ptr from SvTreeListBox::CreateContextMenu
Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/treelistbox.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index b64b4ad7af3b..86a75daa4483 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -23,6 +23,7 @@ #include <svtools/svtdllapi.h> #include <deque> +#include <memory> #include <vector> #include <vcl/ctrl.hxx> @@ -794,7 +795,7 @@ public: void ShowFocusRect( const SvTreeListEntry* pEntry ); void InitStartEntry(); - virtual PopupMenu* CreateContextMenu(); + virtual std::unique_ptr<PopupMenu> CreateContextMenu(); virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ); void EnableContextMenuHandling(); |