Kaydet (Commit) ccf9d889 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

loplugin:unusedfields in basegfx

Change-Id: Ibf7455fd20522ad52031089d2700533efc56c395
Reviewed-on: https://gerrit.libreoffice.org/20077Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 0f5d0aae
...@@ -92,12 +92,10 @@ namespace basegfx ...@@ -92,12 +92,10 @@ namespace basegfx
ActiveEdge( const B2DRectangle& rRect, ActiveEdge( const B2DRectangle& rRect,
const double& fInvariantCoord, const double& fInvariantCoord,
std::ptrdiff_t nPolyIdx, std::ptrdiff_t nPolyIdx,
EdgeType eEdgeType,
EdgeDirection eEdgeDirection ) : EdgeDirection eEdgeDirection ) :
mfInvariantCoord(fInvariantCoord), mfInvariantCoord(fInvariantCoord),
mpAssociatedRect( &rRect ), mpAssociatedRect( &rRect ),
mnPolygonIdx( nPolyIdx ), mnPolygonIdx( nPolyIdx ),
meEdgeType( eEdgeType ),
meEdgeDirection( eEdgeDirection ) meEdgeDirection( eEdgeDirection )
{} {}
...@@ -135,9 +133,6 @@ namespace basegfx ...@@ -135,9 +133,6 @@ namespace basegfx
*/ */
std::ptrdiff_t mnPolygonIdx; std::ptrdiff_t mnPolygonIdx;
/// 'upper' or 'lower' edge of original rectangle.
EdgeType meEdgeType;
/// 'left' or 'right' /// 'left' or 'right'
EdgeDirection meEdgeDirection; EdgeDirection meEdgeDirection;
}; };
...@@ -640,7 +635,6 @@ namespace basegfx ...@@ -640,7 +635,6 @@ namespace basegfx
rRect, rRect,
rRect.getMinY(), rRect.getMinY(),
bGoesDown ? nIdxPolygon : -1, bGoesDown ? nIdxPolygon : -1,
ActiveEdge::UPPER,
bGoesDown ? ActiveEdge::PROCEED_LEFT : ActiveEdge::PROCEED_RIGHT) ); bGoesDown ? ActiveEdge::PROCEED_LEFT : ActiveEdge::PROCEED_RIGHT) );
// lower edge // lower edge
aNewEdges.push_back( aNewEdges.push_back(
...@@ -648,7 +642,6 @@ namespace basegfx ...@@ -648,7 +642,6 @@ namespace basegfx
rRect, rRect,
rRect.getMaxY(), rRect.getMaxY(),
bGoesDown ? -1 : nIdxPolygon, bGoesDown ? -1 : nIdxPolygon,
ActiveEdge::LOWER,
bGoesDown ? ActiveEdge::PROCEED_RIGHT : ActiveEdge::PROCEED_LEFT ) ); bGoesDown ? ActiveEdge::PROCEED_RIGHT : ActiveEdge::PROCEED_LEFT ) );
// furthermore, have to respect a special tie-breaking // furthermore, have to respect a special tie-breaking
......
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