From d5b87dcce119f0cd69e65873833d98ed1660f9d0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 28 Sep 2015 13:06:39 +0200 Subject: Return std::unique_ptr from SvTreeListBox::CreateContextMenu Change-Id: I1e4c32099ec9741c0cab246eb627a2eb3b933e1a --- include/svtools/treelistbox.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/svtools') 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 #include +#include #include #include @@ -794,7 +795,7 @@ public: void ShowFocusRect( const SvTreeListEntry* pEntry ); void InitStartEntry(); - virtual PopupMenu* CreateContextMenu(); + virtual std::unique_ptr CreateContextMenu(); virtual void ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry ); void EnableContextMenuHandling(); -- cgit v1.2.3