diff options
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/app/saldisp.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/printer/jobdata.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx index b8e266cb9ef3..9f08021e7308 100644 --- a/vcl/unx/generic/app/saldisp.cxx +++ b/vcl/unx/generic/app/saldisp.cxx @@ -71,7 +71,7 @@ #include <osl/socket.h> #include <poll.h> -#include <boost/scoped_array.hpp> +#include <memory> #include <com/sun/star/uno/DeploymentException.hpp> #include <officecfg/Office/Common.hxx> @@ -2660,7 +2660,7 @@ void SalColormap::GetPalette() Pixel i; m_aPalette = std::vector<SalColor>(m_nUsed); - boost::scoped_array<XColor> aColor(new XColor[m_nUsed]); + std::unique_ptr<XColor[]> aColor(new XColor[m_nUsed]); for( i = 0; i < m_nUsed; i++ ) { diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx index 778961faa1bb..bd385db1ce4a 100644 --- a/vcl/unx/generic/printer/jobdata.cxx +++ b/vcl/unx/generic/printer/jobdata.cxx @@ -24,7 +24,7 @@ #include <sal/alloca.h> #include <rtl/strbuf.hxx> -#include <boost/scoped_array.hpp> +#include <memory> using namespace psp; @@ -193,7 +193,7 @@ bool JobData::getStreamBuffer( void*& pData, int& bytes ) // now append the PPDContext stream buffer aStream.WriteLine( "PPDContexData" ); sal_uLong nBytes; - boost::scoped_array<char> pContextBuffer(m_aContext.getStreamableBuffer( nBytes )); + std::unique_ptr<char[]> pContextBuffer(m_aContext.getStreamableBuffer( nBytes )); if( nBytes ) aStream.Write( pContextBuffer.get(), nBytes ); pContextBuffer.reset(); |