diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-18 16:36:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-18 20:47:01 +0000 |
commit | 6fe8925305dffd2e1d496319f73ef6602363ef7b (patch) | |
tree | 126b3787ff6538d3ab51555dac681a86bb2a7d58 /vcl/headless | |
parent | f8779bbcef2a2eeab8d74bce445a0eaceda8bdde (diff) |
basebmp now only used from vcl/headless code
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpvd.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/headless/svpvd.cxx b/vcl/headless/svpvd.cxx index 01cb18fa28b2..626ca1f6bb52 100644 --- a/vcl/headless/svpvd.cxx +++ b/vcl/headless/svpvd.cxx @@ -25,12 +25,10 @@ #include "headless/svpgdi.hxx" #include <basegfx/vector/b2ivector.hxx> -#include <basebmp/scanlineformats.hxx> #include <cairo.h> using namespace basegfx; -using namespace basebmp; SvpSalVirtualDevice::~SvpSalVirtualDevice() { @@ -52,11 +50,11 @@ void SvpSalVirtualDevice::ReleaseGraphics( SalGraphics* pGraphics ) bool SvpSalVirtualDevice::SetSize( long nNewDX, long nNewDY ) { - return SetSizeUsingBuffer(nNewDX, nNewDY, basebmp::RawMemorySharedArray()); + return SetSizeUsingBuffer(nNewDX, nNewDY, boost::shared_array<sal_uInt8>()); } bool SvpSalVirtualDevice::SetSizeUsingBuffer( long nNewDX, long nNewDY, - const basebmp::RawMemorySharedArray &pBuffer ) + const boost::shared_array<sal_uInt8> &pBuffer ) { B2IVector aDevSize( nNewDX, nNewDY ); if( aDevSize.getX() == 0 ) |