diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-21 22:39:47 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-21 22:40:31 +0100 |
commit | 77b708117c33538ea105e4fbb3d44fe36fcfe5a2 (patch) | |
tree | f0235898787d0e9f6f8539b0c89f212f1664c989 | |
parent | 3aef56aa5728667c72c0fc4e0939688353a73383 (diff) |
coverity#735364 Logical vs. bitwise operator
Change-Id: I116db00e16a8cb962ee7c98d9bfafb69312c1333
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index c46932e81b6e..53b8bd14fcb8 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -542,7 +542,7 @@ sal_uInt16 ImpLineListData::GetStyle( ) void lclDrawPolygon( OutputDevice& rDev, const basegfx::B2DPolygon& rPolygon, long nWidth, sal_uInt16 nDashing ) { sal_uInt16 nOldAA = rDev.GetAntialiasing(); - rDev.SetAntialiasing( nOldAA & !ANTIALIASING_ENABLE_B2DDRAW ); + rDev.SetAntialiasing( nOldAA & ~ANTIALIASING_ENABLE_B2DDRAW ); basegfx::B2DPolyPolygon aPolygons = svtools::ApplyLineDashing( rPolygon, nDashing, rDev.GetMapMode().GetMapUnit() ); for ( sal_uInt32 i = 0; i < aPolygons.count( ); i++ ) |