From 0434043aed646ef853eb60dcb01909745caec87e Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Fri, 16 May 2014 09:07:52 +0100 Subject: Return a bitmap buffer for tiled rendering from LibLO. We still need some way of managing the buffers properly rather than just keeping a static reference to the last buffer that was rendered. Change-Id: I17940c758948aa9418f4e0216ecd253d128cd04f --- vcl/inc/headless/svpvd.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/inc') diff --git a/vcl/inc/headless/svpvd.hxx b/vcl/inc/headless/svpvd.hxx index 33926757a0c8..e4d37fcabeb1 100644 --- a/vcl/inc/headless/svpvd.hxx +++ b/vcl/inc/headless/svpvd.hxx @@ -47,6 +47,8 @@ public: virtual bool SetSize( long nNewDX, long nNewDY ) SAL_OVERRIDE; virtual bool SetSizeUsingBuffer( long nNewDX, long nNewDY, const basebmp::RawMemorySharedArray &pBuffer ) SAL_OVERRIDE; virtual void GetSize( long& rWidth, long& rHeight ) SAL_OVERRIDE; + + basebmp::BitmapDeviceSharedPtr getBitmapDevice() { return m_aDevice; } }; #endif // INCLUDED_VCL_INC_HEADLESS_SVPVD_HXX -- cgit