Kaydet (Commit) 77b70811 authored tarafından Julien Nabet's avatar Julien Nabet

coverity#735364 Logical vs. bitwise operator

Change-Id: I116db00e16a8cb962ee7c98d9bfafb69312c1333
üst 3aef56aa
......@@ -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++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment