Kaydet (Commit) 92ffbf51 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#705735 Resource leak

Change-Id: I7d79c1332b6acde722d6134fcfe64b4333a4c2b9
üst e124cd52
......@@ -477,7 +477,7 @@ Bitmap XOutBitmap::DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold )
}
return aRetBmp;
};
}
tools::Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nFlags,
const sal_uInt8 cEdgeDetectThreshold,
......@@ -610,10 +610,12 @@ tools::Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nF
if( ( fFactorX != 0. ) && ( fFactorY != 0. ) )
aRetPoly.Scale( fFactorX, fFactorY );
}
Bitmap::ReleaseAccess(pAcc);
}
return aRetPoly;
};
}
bool DitherBitmap( Bitmap& rBitmap )
{
......
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