summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-15 23:43:38 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-16 00:06:22 +0200
commit7068b56ba93470c9329e2537fa24b1b1a11487fa (patch)
tree4d40814f5dee9673baa9f0434b84e34d4bf4d2c5 /include
parent218be53fe00aebed43df0b041de609b30f99ce95 (diff)
vcl: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I11bd73ff134895d05c7ce054b5ef26829a3bf8c3
Diffstat (limited to 'include')
-rw-r--r--include/vcl/btndlg.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx
index 53280846e62f..33b86e93396f 100644
--- a/include/vcl/btndlg.hxx
+++ b/include/vcl/btndlg.hxx
@@ -20,11 +20,13 @@
#ifndef INCLUDED_VCL_BTNDLG_HXX
#define INCLUDED_VCL_BTNDLG_HXX
-#include <boost/ptr_container/ptr_vector.hpp>
#include <vcl/dllapi.h>
#include <vcl/dialog.hxx>
#include <o3tl/typed_flags_set.hxx>
+#include <vector>
+#include <memory>
+
struct ImplBtnDlgItem;
class PushButton;
@@ -81,7 +83,7 @@ private:
ButtonDialog& operator=( const ButtonDialog& ) SAL_DELETED_FUNCTION;
private:
- boost::ptr_vector<ImplBtnDlgItem> maItemList;
+ std::vector<std::unique_ptr<ImplBtnDlgItem>> m_ItemList;
Size maPageSize;
Size maCtrlSize;
long mnButtonSize;