summaryrefslogtreecommitdiff
path: root/canvas/source/cairo
diff options
context:
space:
mode:
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;