diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-29 11:34:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-29 14:44:37 +0200 |
commit | 9b25614939f7709e3d67949f49c4beeec0cdc534 (patch) | |
tree | c1e25fc743202c1fd8288ef5f8c0332203b1fc5c /drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx | |
parent | 6647a167400753df45dba788ed793d55ca0be9f8 (diff) |
loplugin:simplifybool in dbaccess..framework
Change-Id: I0d73bb7d8d3fde426edc0a10c0750758b68aceb5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95099
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx b/drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx index 2a1aefafa275..c857ba5c8e3d 100644 --- a/drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/PolyPolygonGraphicPrimitive2D.cxx @@ -40,7 +40,7 @@ void PolyPolygonGraphicPrimitive2D::create2DDecomposition( const GraphicType aType(rGraphic.GetType()); // is there a bitmap or a metafile (do we have content)? - if (!(GraphicType::Bitmap == aType || GraphicType::GdiMetafile == aType)) + if (GraphicType::Bitmap != aType && GraphicType::GdiMetafile != aType) return; const Size aPrefSize(rGraphic.GetPrefSize()); |