Kaydet (Commit) 34fa29ed authored tarafından Miklos Vajna's avatar Miklos Vajna

Remove unused basegfx::tools::containsOnlyHorizontalAndVerticalEdges

Change-Id: I8a8b7a5b47cd9e566c1b3154a527c78a8fcbd7df
üst 81bce2dc
...@@ -497,24 +497,6 @@ namespace basegfx ...@@ -497,24 +497,6 @@ namespace basegfx
return aRetval; return aRetval;
} }
bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate)
{
if(rCandidate.areControlPointsUsed())
{
return false;
}
for(sal_uInt32 a(0); a < rCandidate.count(); a++)
{
if(!containsOnlyHorizontalAndVerticalEdges(rCandidate.getB2DPolygon(a)))
{
return false;
}
}
return true;
}
B2DPolyPolygon createSevenSegmentPolyPolygon(sal_Char nNumber, bool bLitSegments) B2DPolyPolygon createSevenSegmentPolyPolygon(sal_Char nNumber, bool bLitSegments)
{ {
// config here // config here
......
...@@ -287,11 +287,6 @@ namespace basegfx ...@@ -287,11 +287,6 @@ namespace basegfx
*/ */
BASEGFX_DLLPUBLIC B2DPolyPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolyPolygon& rCandidate); BASEGFX_DLLPUBLIC B2DPolyPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolyPolygon& rCandidate);
/** returns true if the Polygon only contains horizontal or vertical edges
so that it could be represented by RegionBands
*/
BASEGFX_DLLPUBLIC bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate);
/// converters for com::sun::star::drawing::PointSequence /// converters for com::sun::star::drawing::PointSequence
BASEGFX_DLLPUBLIC B2DPolyPolygon UnoPointSequenceSequenceToB2DPolyPolygon( BASEGFX_DLLPUBLIC B2DPolyPolygon UnoPointSequenceSequenceToB2DPolyPolygon(
const com::sun::star::drawing::PointSequenceSequence& rPointSequenceSequenceSource, const com::sun::star::drawing::PointSequenceSequence& rPointSequenceSequenceSource,
......
...@@ -184,7 +184,6 @@ apitest::XText::testInsertRemoveTextContent() ...@@ -184,7 +184,6 @@ apitest::XText::testInsertRemoveTextContent()
apitest::XTextContent::testAttach() apitest::XTextContent::testAttach()
apitest::XTextContent::testGetAnchor() apitest::XTextContent::testGetAnchor()
apitest::XTextField::testGetPresentation() apitest::XTextField::testGetPresentation()
basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&) basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
basegfx::tools::equal(basegfx::B3DPolygon const&, basegfx::B3DPolygon const&, double const&) basegfx::tools::equal(basegfx::B3DPolygon const&, basegfx::B3DPolygon const&, double const&)
basegfx::unotools::homMatrixFromMatrix(basegfx::B2DHomMatrix&, com::sun::star::geometry::Matrix2D const&) basegfx::unotools::homMatrixFromMatrix(basegfx::B2DHomMatrix&, com::sun::star::geometry::Matrix2D const&)
......
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