summaryrefslogtreecommitdiff
path: root/include/vcl/virdev.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-01-26 12:37:20 +0100
committerMichael Stahl <mstahl@redhat.com>2016-01-26 17:51:28 +0100
commit39963be8679ceef5d08eda9e04e97b6fbb079b71 (patch)
tree75337d944e12b0a3833e9093debb4d95ca6b0691 /include/vcl/virdev.hxx
parent27feec6f91e464651ede25a955aac5bf75bcacf6 (diff)
vcl: convert boost::shared_array to std::shared_ptr
Change-Id: I9d0ad886c4c6e1c8496eb6129b22d327ca0968eb
Diffstat (limited to 'include/vcl/virdev.hxx')
-rw-r--r--include/vcl/virdev.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index b0b960e1befd..e56a9a1a74f1 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -23,7 +23,8 @@
#include <vcl/dllapi.h>
#include <vcl/salgtype.hxx>
#include <vcl/outdev.hxx>
-#include <boost/shared_array.hpp>
+
+#include <memory>
class SalVirtualDevice;
struct SystemGraphicsData;
@@ -46,9 +47,9 @@ private:
SAL_DLLPRIVATE void ImplInitVirDev( const OutputDevice* pOutDev, long nDX, long nDY, DeviceFormat eFormat, const SystemGraphicsData *pData = nullptr );
SAL_DLLPRIVATE bool InnerImplSetOutputSizePixel( const Size& rNewSize, bool bErase,
- const boost::shared_array<sal_uInt8> &pBuffer );
+ const std::shared_ptr<sal_uInt8> &pBuffer );
SAL_DLLPRIVATE bool ImplSetOutputSizePixel( const Size& rNewSize, bool bErase,
- const boost::shared_array<sal_uInt8> &pBuffer );
+ const std::shared_ptr<sal_uInt8> &pBuffer );
VirtualDevice (const VirtualDevice &) = delete;
VirtualDevice & operator= (const VirtualDevice &) = delete;
@@ -126,7 +127,7 @@ public:
bool SetOutputSizePixelScaleOffsetAndBuffer( const Size& rNewSize,
const Fraction& rScale,
const Point& rNewOffset,
- const boost::shared_array<sal_uInt8> &pBuffer );
+ const std::shared_ptr<sal_uInt8> &pBuffer );
bool SetOutputSize( const Size& rNewSize, bool bErase = true )
{ return SetOutputSizePixel( LogicToPixel( rNewSize ), bErase ); }