summaryrefslogtreecommitdiff
path: root/canvas/source/cairo
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-02 11:45:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-02 11:45:45 +0200
commit05a676e86cbca3730c6b9e91ffdf8af214b90708 (patch)
tree0698c7a66ef9feeeaeae6cb98ec84d5bc9f93045 /canvas/source/cairo
parentb8ce647194c3c0f715296bee540ff18cfefa3497 (diff)
canvas: sal_Bool -> bool
Change-Id: I4292b0e8810fac781e64272b315dd32eced3623c
Diffstat (limited to 'canvas/source/cairo')
-rw-r--r--canvas/source/cairo/cairo_spritedevicehelper.cxx8
-rw-r--r--canvas/source/cairo/cairo_spritedevicehelper.hxx4
2 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.cxx b/canvas/source/cairo/cairo_spritedevicehelper.cxx
index 9673aec02f11..8288186c2f17 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.cxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.cxx
@@ -85,16 +85,16 @@ namespace cairocanvas
// _always_ will have exactly one backbuffer
}
- sal_Bool SpriteDeviceHelper::showBuffer( bool, sal_Bool )
+ bool SpriteDeviceHelper::showBuffer( bool, bool )
{
OSL_FAIL("Not supposed to be called, handled by SpriteCanvas");
- return sal_False;
+ return false;
}
- sal_Bool SpriteDeviceHelper::switchBuffer( bool, sal_Bool )
+ bool SpriteDeviceHelper::switchBuffer( bool, bool )
{
OSL_FAIL("Not supposed to be called, handled by SpriteCanvas");
- return sal_False;
+ return false;
}
uno::Any SpriteDeviceHelper::isAccelerated() const
diff --git a/canvas/source/cairo/cairo_spritedevicehelper.hxx b/canvas/source/cairo/cairo_spritedevicehelper.hxx
index bcd9a8461762..b359de0b76b2 100644
--- a/canvas/source/cairo/cairo_spritedevicehelper.hxx
+++ b/canvas/source/cairo/cairo_spritedevicehelper.hxx
@@ -54,8 +54,8 @@ namespace cairocanvas
// XWindowGraphicDevice
::sal_Int32 createBuffers( ::sal_Int32 nBuffers );
void destroyBuffers( );
- sal_Bool showBuffer( bool, sal_Bool );
- sal_Bool switchBuffer( bool, sal_Bool bUpdateAll );
+ bool showBuffer( bool, bool );
+ bool switchBuffer( bool, bool bUpdateAll );
::com::sun::star::uno::Any isAccelerated() const;
::com::sun::star::uno::Any getDeviceHandle() const;