diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-31 22:25:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-01 17:52:18 +0000 |
commit | 74ac2c25a71d820ce187282be6d66f4b66da5b18 (patch) | |
tree | 73d530a5dbb82e8a2277e4edd1bcf0a7f082b6b8 /vcl/inc | |
parent | 2387d277f7c717f9f4035235f71f15f5ccdc9751 (diff) |
work around lack of cairo_rectangle_int_t with basegfx
ditch the CAIRO_VERSION_ENCODE(1, 10, 0) + sub optional
damage rect and just use our always-available basegfx
foo here.
Change-Id: I680453180f4725ac37cabf38d71b935c99edf6c7
Reviewed-on: https://gerrit.libreoffice.org/21971
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')
-rw-r--r-- | vcl/inc/android/androidinst.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/headless/svpgdi.hxx | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/vcl/inc/android/androidinst.hxx b/vcl/inc/android/androidinst.hxx index 764d0cfc4eed..8a0e1b96efc1 100644 --- a/vcl/inc/android/androidinst.hxx +++ b/vcl/inc/android/androidinst.hxx @@ -38,8 +38,6 @@ public: // mainloop pieces virtual bool AnyInput( VclInputFlags nType ); - - void damaged(AndroidSalFrame *frame); }; #endif // INCLUDED_VCL_INC_ANDROID_ANDROIDINST_HXX diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx index 9e1416c30bb4..be9aebe17332 100644 --- a/vcl/inc/headless/svpgdi.hxx +++ b/vcl/inc/headless/svpgdi.hxx @@ -48,7 +48,6 @@ class GlyphCache; class ServerFont; typedef struct _cairo cairo_t; typedef struct _cairo_surface cairo_surface_t; -typedef struct _cairo_rectangle_int cairo_rectangle_int_t; typedef struct _cairo_user_data_key cairo_user_data_key_t; enum PaintMode { OVERPAINT, XOR, INVERT }; @@ -218,7 +217,7 @@ public: #endif // ENABLE_CAIRO_CANVAS cairo_t* getCairoContext(bool bXorModeAllowed) const; - void releaseCairoContext(cairo_t* cr, bool bXorModeAllowed, const cairo_rectangle_int_t& extents) const; + void releaseCairoContext(cairo_t* cr, bool bXorModeAllowed, const basegfx::B2DRange& rExtents) const; static cairo_surface_t* createCairoSurface(const BitmapBuffer *pBuffer); void clipRegion(cairo_t* cr); }; |