From c7258cfccdf9f4c5235da1b135801f957a5b0ec1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Feb 2015 09:46:57 +0000 Subject: shared_ptr(new T(args)) -> make_shared(args) and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d --- include/svtools/PlaceEditDialog.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/svtools') diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx index 7990542d3c07..5cdad02f1807 100644 --- a/include/svtools/PlaceEditDialog.hxx +++ b/include/svtools/PlaceEditDialog.hxx @@ -21,7 +21,7 @@ #include #include -#include +#include #include class SVT_DLLPUBLIC PlaceEditDialog : public ModalDialog @@ -30,7 +30,7 @@ private : Edit* m_pEDServerName; ListBox* m_pLBServerType; - boost::shared_ptr< DetailsContainer > m_pCurrentDetails; + std::shared_ptr< DetailsContainer > m_xCurrentDetails; Edit* m_pEDUsername; OKButton* m_pBTOk; @@ -44,16 +44,16 @@ private : the m_aDetailsContainer[0] will be shown for the type corresponding to entry 0 in the listbox. */ - std::vector< boost::shared_ptr< DetailsContainer > > m_aDetailsContainers; + std::vector< std::shared_ptr< DetailsContainer > > m_aDetailsContainers; public : PlaceEditDialog( vcl::Window* pParent); - PlaceEditDialog(vcl::Window* pParent, const boost::shared_ptr &pPlace ); + PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr &rPlace ); virtual ~PlaceEditDialog(); // Returns a place instance with given information - boost::shared_ptr GetPlace(); + std::shared_ptr GetPlace(); OUString GetServerName() { return m_pEDServerName->GetText(); } OUString GetServerUrl(); -- cgit