summaryrefslogtreecommitdiff
path: root/canvas/source/cairo/cairo_surfaceprovider.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-19 00:50:37 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-19 20:04:23 +0200
commitb54e050169d22bb814a4815404021665e1fcf93b (patch)
treedb2a585e325a566e1d4a8fc83ea81d020a129fad /canvas/source/cairo/cairo_surfaceprovider.hxx
parent6c29c3d1784302d959830e10a027c6843480e0c4 (diff)
canvas: drop using from headers
Change-Id: Ifcfd08984df883a06a133b407ac90ddf259b3bef
Diffstat (limited to 'canvas/source/cairo/cairo_surfaceprovider.hxx')
-rw-r--r--canvas/source/cairo/cairo_surfaceprovider.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/canvas/source/cairo/cairo_surfaceprovider.hxx b/canvas/source/cairo/cairo_surfaceprovider.hxx
index 24baad100f4c..0521b2cc0e0f 100644
--- a/canvas/source/cairo/cairo_surfaceprovider.hxx
+++ b/canvas/source/cairo/cairo_surfaceprovider.hxx
@@ -25,8 +25,6 @@
#include "cairo_cairo.hxx"
-using namespace ::cairo;
-
class OutputDevice;
class Bitmap;
@@ -50,18 +48,18 @@ namespace cairocanvas
This should return the default surface to render on.
*/
- virtual SurfaceSharedPtr getSurface() = 0;
+ virtual ::cairo::SurfaceSharedPtr getSurface() = 0;
/// create new surface in given size
- virtual SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize,
- Content aContent = CAIRO_CONTENT_COLOR_ALPHA ) = 0;
+ virtual ::cairo::SurfaceSharedPtr createSurface( const ::basegfx::B2ISize& rSize,
+ ::cairo::Content aContent = CAIRO_CONTENT_COLOR_ALPHA ) = 0;
/// create new surface from given bitmap
- virtual SurfaceSharedPtr createSurface( ::Bitmap& rBitmap ) = 0;
+ virtual ::cairo::SurfaceSharedPtr createSurface( ::Bitmap& rBitmap ) = 0;
/** convert surface between alpha and non-alpha
channel. returns new surface on success, NULL otherwise
*/
- virtual SurfaceSharedPtr changeSurface( bool bHasAlpha, bool bCopyContent ) = 0;
+ virtual ::cairo::SurfaceSharedPtr changeSurface( bool bHasAlpha, bool bCopyContent ) = 0;
/** Provides the underlying vcl outputdevice this surface renders on
*/