summaryrefslogtreecommitdiff
path: root/vcl/inc/headless/svpgdi.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-04-11 11:06:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-04-11 15:37:46 +0200
commit6eea5cffc4399fd31f97b19359eb6ae9c75d21b8 (patch)
treeda70477a17ec80ceda41bc0a739e00d0774d8e29 /vcl/inc/headless/svpgdi.hxx
parenta87569e9ea8db9a0d869570613603eebf7c145e8 (diff)
Related: rhbz#1396729 use cairo_surface_create_similar_image
don't expect it to make much of a difference but does allow bubbling the initial widget surface type around through the virtual devices Change-Id: I414a4b10b0ae4195345b81d9da7f748652d4f566 Reviewed-on: https://gerrit.libreoffice.org/52718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/headless/svpgdi.hxx')
-rw-r--r--vcl/inc/headless/svpgdi.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 28c453d0cfbe..7569476c1600 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -93,6 +93,7 @@ class VCL_DLLPUBLIC SvpSalGraphics : public SalGraphics
public:
static GlyphCache& getPlatformGlyphCache();
void setSurface(cairo_surface_t* pSurface, const basegfx::B2IVector& rSize);
+ cairo_surface_t* getSurface() const { return m_pSurface; }
static cairo_user_data_key_t* getDamageKey();
private: