diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:41:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:44 +0000 |
commit | a1ceacc17e3f30d5e9c06b3218ad8ec26ca2f1b9 (patch) | |
tree | 56a29f66f75f326a0a677ab1697ce28f1bc9fcbf /include/unotools/closeveto.hxx | |
parent | 18f41dfaf19d656d290c47d196ef2702e169a522 (diff) |
boost::foo_ptr->std::foo_ptr
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
Diffstat (limited to 'include/unotools/closeveto.hxx')
-rw-r--r-- | include/unotools/closeveto.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/unotools/closeveto.hxx b/include/unotools/closeveto.hxx index 9beb0b55361e..1079c3597341 100644 --- a/include/unotools/closeveto.hxx +++ b/include/unotools/closeveto.hxx @@ -21,16 +21,13 @@ #define INCLUDED_UNOTOOLS_CLOSEVETO_HXX #include <unotools/unotoolsdllapi.h> - #include <com/sun/star/uno/XInterface.hpp> - -#include <boost/scoped_ptr.hpp> +#include <memory> namespace utl { //= CloseVeto - struct CloseVeto_Data; /** will add a XCloseListener to a given component, and veto its closing as long as the <code>CloseVeto</code> instance is alive. @@ -45,7 +42,7 @@ namespace utl ~CloseVeto(); private: - ::boost::scoped_ptr< CloseVeto_Data > m_pData; + std::unique_ptr< CloseVeto_Data > m_xData; }; } // namespace dbaui |