summaryrefslogtreecommitdiff
path: root/vcl/inc/headless
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-03 17:04:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-03 20:58:21 +0200
commit730f50a86d9521c8d3793b40ce14c484d3e3c2f7 (patch)
tree6b24c47c68b3874632e93a00c23ebf317e4755d4 /vcl/inc/headless
parent2483c98fe7a843ea5b7d258ac76f48433a3758ca (diff)
factor out the actual surface creation
Change-Id: I77520b67b988f583dfd277e69d8181b9acdbd904 Reviewed-on: https://gerrit.libreoffice.org/80153 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/headless')
-rw-r--r--vcl/inc/headless/svpvd.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/headless/svpvd.hxx b/vcl/inc/headless/svpvd.hxx
index 3da74b5e1ba8..b069c63286d1 100644
--- a/vcl/inc/headless/svpvd.hxx
+++ b/vcl/inc/headless/svpvd.hxx
@@ -37,6 +37,8 @@ class VCL_DLLPUBLIC SvpSalVirtualDevice : public SalVirtualDevice
basegfx::B2IVector m_aFrameSize;
std::vector< SvpSalGraphics* > m_aGraphics;
+ void CreateSurface(long nNewDX, long nNewDY, sal_uInt8 *const pBuffer);
+
protected:
SvpSalGraphics* AddGraphics(SvpSalGraphics* aGraphics);