diff options
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 |