summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-20 16:47:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-21 10:00:38 +0200
commit3e76985d5efe47a8c79945049831e791a9277498 (patch)
treee60743ebf818e94c5d5fae0af1b3fdb6e2aeb679 /include
parentb3df3494174243e691d1be74bab4d7f5177ad3b7 (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.hxx3
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,