summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolypolygontools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-20 16:36:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-01-21 07:18:38 +0000
commit90d892664a6c49a8ae25a72ddccf54dba9d0e429 (patch)
treed9bb4a7307e349b88a4d528854abb44e4323f563 /basegfx/source/polygon/b2dpolypolygontools.cxx
parentea6fdbaeeb51ad695f1c3754b796b7273eb4baad (diff)
loplugin: unused return values
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7 Reviewed-on: https://gerrit.libreoffice.org/21628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basegfx/source/polygon/b2dpolypolygontools.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygontools.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx
index b1507768220f..45c54f5ba861 100644
--- a/basegfx/source/polygon/b2dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolypolygontools.cxx
@@ -170,35 +170,6 @@ namespace basegfx
}
}
- B2DPolyPolygon adaptiveSubdivideByCount(const B2DPolyPolygon& rCandidate, sal_uInt32 nCount)
- {
- if(rCandidate.areControlPointsUsed())
- {
- const sal_uInt32 nPolygonCount(rCandidate.count());
- B2DPolyPolygon aRetval;
-
- for(sal_uInt32 a(0L); a < nPolygonCount; a++)
- {
- const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a));
-
- if(aCandidate.areControlPointsUsed())
- {
- aRetval.append(tools::adaptiveSubdivideByCount(aCandidate, nCount));
- }
- else
- {
- aRetval.append(aCandidate);
- }
- }
-
- return aRetval;
- }
- else
- {
- return rCandidate;
- }
- }
-
bool isInside(const B2DPolyPolygon& rCandidate, const B2DPoint& rPoint, bool bWithBorder)
{
const sal_uInt32 nPolygonCount(rCandidate.count());