From 3a00aaef2a51d7a1a87475a316dc9ae232fac60c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 17 Sep 2015 17:10:47 +0100 Subject: boost->std MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- toolkit/source/awt/stylesettings.hxx | 4 ++-- toolkit/source/controls/grid/gridcontrol.cxx | 4 ++-- toolkit/source/controls/grid/gridcontrol.hxx | 4 ++-- toolkit/source/controls/unocontrolmodel.cxx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'toolkit/source') diff --git a/toolkit/source/awt/stylesettings.hxx b/toolkit/source/awt/stylesettings.hxx index 1274b59bab78..46b3ed6d4129 100644 --- a/toolkit/source/awt/stylesettings.hxx +++ b/toolkit/source/awt/stylesettings.hxx @@ -24,7 +24,7 @@ #include -#include +#include namespace osl { @@ -165,7 +165,7 @@ namespace toolkit virtual void SAL_CALL removeStyleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XStyleChangeListener >& Listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: - ::boost::scoped_ptr< WindowStyleSettings_Data > m_pData; + std::unique_ptr< WindowStyleSettings_Data > m_pData; }; diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index 444d7b1243d4..9bb77f8cb0d0 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -37,7 +37,7 @@ #include #include -#include +#include #include "helper/unopropertyarrayhelper.hxx" @@ -311,7 +311,7 @@ void SAL_CALL UnoGridControl::createPeer( const uno::Reference< awt::XToolkit > namespace { - void lcl_setEventForwarding( const Reference< XControlModel >& i_gridControlModel, const ::boost::scoped_ptr< toolkit::GridEventForwarder >& i_listener, + void lcl_setEventForwarding( const Reference< XControlModel >& i_gridControlModel, const std::unique_ptr< toolkit::GridEventForwarder >& i_listener, bool const i_add ) { const Reference< XPropertySet > xModelProps( i_gridControlModel, UNO_QUERY ); diff --git a/toolkit/source/controls/grid/gridcontrol.hxx b/toolkit/source/controls/grid/gridcontrol.hxx index b10dd8de0e9e..2aa1a2202731 100644 --- a/toolkit/source/controls/grid/gridcontrol.hxx +++ b/toolkit/source/controls/grid/gridcontrol.hxx @@ -30,7 +30,7 @@ #include #include -#include +#include namespace toolkit { @@ -139,7 +139,7 @@ protected: private: SelectionListenerMultiplexer m_aSelectionListeners; - ::boost::scoped_ptr< GridEventForwarder > m_pEventForwarder; + std::unique_ptr< GridEventForwarder > m_pEventForwarder; }; } // toolkit diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 9498f0652145..62095125dd86 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -49,8 +49,8 @@ #include #include +#include #include -#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -1313,7 +1313,7 @@ void UnoControlModel::setPropertyValues( const ::com::sun::star::uno::Sequence< { // if somebody sets properties which are single aspects of a font descriptor, // remove them, and build a font descriptor instead - boost::scoped_ptr< awt::FontDescriptor > pFD; + std::unique_ptr< awt::FontDescriptor > pFD; for ( sal_Int32 n = 0; n < nProps; ++n ) { if ( ( pHandles[n] >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( pHandles[n] <= BASEPROPERTY_FONTDESCRIPTORPART_END ) ) -- cgit