diff options
Diffstat (limited to 'vcl/unx/generic/printer/jobdata.cxx')
-rw-r--r-- | vcl/unx/generic/printer/jobdata.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/printer/jobdata.cxx b/vcl/unx/generic/printer/jobdata.cxx index 7e25fdc1b3e1..212b58677af8 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(); |