diff options
Diffstat (limited to 'include/vcl/virdev.hxx')
-rw-r--r-- | include/vcl/virdev.hxx | 9 |
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 ); } |