diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:26:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 15:30:52 +0200 |
commit | ad3f1321f9a6e18c022e534e2f259cf78996d9b4 (patch) | |
tree | 543e3eff4a7f8b22ab374cf6182f1bdf84919541 /canvas/source/cairo/cairo_canvas.cxx | |
parent | eafd09e9fd0fcbddc40a5e23737f19937a9bd62e (diff) |
More loplugin:simplifybool
Change-Id: I445a6edc0fc2c840cde777e8664bac3362c9b6e2
Diffstat (limited to 'canvas/source/cairo/cairo_canvas.cxx')
-rw-r--r-- | canvas/source/cairo/cairo_canvas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_canvas.cxx b/canvas/source/cairo/cairo_canvas.cxx index c494e91020fb..e27daa2384eb 100644 --- a/canvas/source/cairo/cairo_canvas.cxx +++ b/canvas/source/cairo/cairo_canvas.cxx @@ -93,7 +93,7 @@ namespace cairocanvas throw lang::NoSupportException( "Passed SystemGraphicsData invalid!" ); bool bHasCairo = pOutDev->SupportsCairo(); - ENSURE_ARG_OR_THROW(bHasCairo == true, "SpriteCanvas::SpriteCanvas: No Cairo capability"); + ENSURE_ARG_OR_THROW(bHasCairo, "SpriteCanvas::SpriteCanvas: No Cairo capability"); // setup helper maDeviceHelper.init( *this, *pOutDev ); |