[Libreoffice-commits] core.git: basegfx/source
Noel Grandin
noel at peralex.com
Fri Nov 20 05:09:01 PST 2015
basegfx/source/range/b2drangeclipper.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit ccf9d889fd3b21473e201b0d25a714d10474bc96
Author: Noel Grandin <noel at peralex.com>
Date: Fri Nov 20 11:56:20 2015 +0200
loplugin:unusedfields in basegfx
Change-Id: Ibf7455fd20522ad52031089d2700533efc56c395
Reviewed-on: https://gerrit.libreoffice.org/20077
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 1e4bb4f..882b4a8 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -92,12 +92,10 @@ namespace basegfx
ActiveEdge( const B2DRectangle& rRect,
const double& fInvariantCoord,
std::ptrdiff_t nPolyIdx,
- EdgeType eEdgeType,
EdgeDirection eEdgeDirection ) :
mfInvariantCoord(fInvariantCoord),
mpAssociatedRect( &rRect ),
mnPolygonIdx( nPolyIdx ),
- meEdgeType( eEdgeType ),
meEdgeDirection( eEdgeDirection )
{}
@@ -135,9 +133,6 @@ namespace basegfx
*/
std::ptrdiff_t mnPolygonIdx;
- /// 'upper' or 'lower' edge of original rectangle.
- EdgeType meEdgeType;
-
/// 'left' or 'right'
EdgeDirection meEdgeDirection;
};
@@ -640,7 +635,6 @@ namespace basegfx
rRect,
rRect.getMinY(),
bGoesDown ? nIdxPolygon : -1,
- ActiveEdge::UPPER,
bGoesDown ? ActiveEdge::PROCEED_LEFT : ActiveEdge::PROCEED_RIGHT) );
// lower edge
aNewEdges.push_back(
@@ -648,7 +642,6 @@ namespace basegfx
rRect,
rRect.getMaxY(),
bGoesDown ? -1 : nIdxPolygon,
- ActiveEdge::LOWER,
bGoesDown ? ActiveEdge::PROCEED_RIGHT : ActiveEdge::PROCEED_LEFT ) );
// furthermore, have to respect a special tie-breaking
More information about the Libreoffice-commits
mailing list