diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-20 16:47:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-21 10:00:38 +0200 |
commit | 3e76985d5efe47a8c79945049831e791a9277498 (patch) | |
tree | e60743ebf818e94c5d5fae0af1b3fdb6e2aeb679 /include | |
parent | b3df3494174243e691d1be74bab4d7f5177ad3b7 (diff) |
take the surface directly from the SvpSalVirtualDevice
Change-Id: I5e0d46fa863a9a74063063cc3d22ea15d2544d8b
Reviewed-on: https://gerrit.libreoffice.org/56208
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/virdev.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx index 3895661649d8..98647fa4b766 100644 --- a/include/vcl/virdev.hxx +++ b/include/vcl/virdev.hxx @@ -25,15 +25,16 @@ #include <vcl/outdev.hxx> #include <memory> - class SalVirtualDevice; struct SystemGraphicsData; +typedef struct _cairo_surface cairo_surface_t; class VCL_DLLPUBLIC VirtualDevice : public OutputDevice { friend class Application; friend class ::OutputDevice; friend class Printer; + friend cairo_surface_t* get_underlying_cairo_suface(VirtualDevice&); public: // reference device modes for different compatibility levels enum class RefDevMode { NONE = 0, |