diff options
Diffstat (limited to 'cppuhelper/source/tdmgr.cxx')
-rw-r--r-- | cppuhelper/source/tdmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppuhelper/source/tdmgr.cxx b/cppuhelper/source/tdmgr.cxx index d93d107bd21b..6aaf34e6ece5 100644 --- a/cppuhelper/source/tdmgr.cxx +++ b/cppuhelper/source/tdmgr.cxx @@ -49,7 +49,7 @@ #include <com/sun/star/reflection/XStructTypeDescription.hpp> #include <com/sun/star/uno/RuntimeException.hpp> -#include <boost/scoped_array.hpp> +#include <memory> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -318,7 +318,7 @@ inline static typelib_TypeDescription * createCTD( sal_Int32 nBases = aBases.getLength(); // Exploit the fact that a typelib_TypeDescription for an interface type // is also the typelib_TypeDescriptionReference for that type: - boost::scoped_array< typelib_TypeDescription * > aBaseTypes( + std::unique_ptr< typelib_TypeDescription * []> aBaseTypes( new typelib_TypeDescription *[nBases]); for (sal_Int32 i = 0; i < nBases; ++i) { typelib_TypeDescription * p = createCTD(access, aBases[i]); |