diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-06 09:46:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-06 16:45:13 +0000 |
commit | c7258cfccdf9f4c5235da1b135801f957a5b0ec1 (patch) | |
tree | d5af5085ad1327afe2d41045ea452e017fea1fb6 /include/svtools | |
parent | 027c383584bff4ea2aa7aa2b9e294e614087f28f (diff) |
shared_ptr<T>(new T(args)) -> make_shared<T>(args)
and boost:make_shared->std::make_shared
Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/PlaceEditDialog.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 <svtools/inettbc.hxx> #include <svtools/place.hxx> -#include <boost/shared_ptr.hpp> +#include <memory> #include <vector> 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<Place> &pPlace ); + PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Place> &rPlace ); virtual ~PlaceEditDialog(); // Returns a place instance with given information - boost::shared_ptr<Place> GetPlace(); + std::shared_ptr<Place> GetPlace(); OUString GetServerName() { return m_pEDServerName->GetText(); } OUString GetServerUrl(); |