loplugin:passstuffbyref in basegfx
Change-Id: Ia7fc22152af2facf3134d9e0975cfb9608b2e931
This commit is contained in:
@@ -126,7 +126,7 @@ namespace basegfx
|
||||
explicit Triangulator(const B2DPolyPolygon& rCandidate);
|
||||
~Triangulator();
|
||||
|
||||
const B2DPolygon getResult() const { return maResult; }
|
||||
const B2DPolygon& getResult() const { return maResult; }
|
||||
};
|
||||
|
||||
void Triangulator::handleClosingEdge(const B2DPoint& rStart, const B2DPoint& rEnd)
|
||||
|
@@ -85,16 +85,16 @@ namespace basegfx
|
||||
double getControlPolygonLength() const;
|
||||
|
||||
// data interface
|
||||
B2DPoint getStartPoint() const { return maStartPoint; }
|
||||
const B2DPoint& getStartPoint() const { return maStartPoint; }
|
||||
void setStartPoint(const B2DPoint& rValue) { maStartPoint = rValue; }
|
||||
|
||||
B2DPoint getEndPoint() const { return maEndPoint; }
|
||||
const B2DPoint& getEndPoint() const { return maEndPoint; }
|
||||
void setEndPoint(const B2DPoint& rValue) { maEndPoint = rValue; }
|
||||
|
||||
B2DPoint getControlPointA() const { return maControlPointA; }
|
||||
const B2DPoint& getControlPointA() const { return maControlPointA; }
|
||||
void setControlPointA(const B2DPoint& rValue) { maControlPointA = rValue; }
|
||||
|
||||
B2DPoint getControlPointB() const { return maControlPointB; }
|
||||
const B2DPoint& getControlPointB() const { return maControlPointB; }
|
||||
void setControlPointB(const B2DPoint& rValue) { maControlPointB = rValue; }
|
||||
|
||||
/** get the tangent in point t
|
||||
|
@@ -87,7 +87,7 @@ namespace unotools
|
||||
sal_Int32 nNumberOfPoints ) const;
|
||||
|
||||
/// Get cow copy of internal polygon. not thread-safe outside this object.
|
||||
B2DPolyPolygon getPolyPolygonUnsafe() const
|
||||
const B2DPolyPolygon& getPolyPolygonUnsafe() const
|
||||
{
|
||||
return maPolyPoly;
|
||||
}
|
||||
|
Reference in New Issue
Block a user