summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdedtv2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdedtv2.cxx')
-rw-r--r--svx/source/svdraw/svdedtv2.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/svdraw/svdedtv2.cxx b/svx/source/svdraw/svdedtv2.cxx
index e7b8a3f586f9..8c4d82fd8ed1 100644
--- a/svx/source/svdraw/svdedtv2.cxx
+++ b/svx/source/svdraw/svdedtv2.cxx
@@ -707,9 +707,9 @@ basegfx::B2DPolygon SdrEditView::ImpCombineToSinglePolygon(const basegfx::B2DPol
if(aCandidate.count())
{
const basegfx::B2DPoint aCA(aCandidate.getB2DPoint(0));
- const basegfx::B2DPoint aCB(aCandidate.getB2DPoint(aCandidate.count() - 1L));
+ const basegfx::B2DPoint aCB(aCandidate.getB2DPoint(aCandidate.count() - 1));
const basegfx::B2DPoint aRA(aRetval.getB2DPoint(0));
- const basegfx::B2DPoint aRB(aRetval.getB2DPoint(aRetval.count() - 1L));
+ const basegfx::B2DPoint aRB(aRetval.getB2DPoint(aRetval.count() - 1));
const double fRACA(basegfx::B2DVector(aCA - aRA).getLength());
const double fRACB(basegfx::B2DVector(aCB - aRA).getLength());
@@ -789,7 +789,7 @@ void SdrEditView::DistributeMarkedObjects()
if(eHor != SvxDistributeHorizontal::NONE)
{
// build sorted entry list
- nFullLength = 0L;
+ nFullLength = 0;
for( size_t a = 0; a < nMark; ++a )
{
@@ -884,7 +884,7 @@ void SdrEditView::DistributeMarkedObjects()
if(eVer != SvxDistributeVertical::NONE)
{
// build sorted entry list
- nFullLength = 0L;
+ nFullLength = 0;
for( size_t a = 0; a < nMark; ++a )
{
@@ -1298,7 +1298,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly)
if(!pInsOL)
{
- nInsPos = pObj->GetOrdNum() + 1L;
+ nInsPos = pObj->GetOrdNum() + 1;
pInsPV = pM->GetPageView();
pInsOL = pObj->GetObjList();
}
@@ -1320,7 +1320,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly)
{
SdrObjKind eKind = OBJ_PATHFILL;
- if(nPolyCount > 1L)
+ if(nPolyCount > 1)
{
aPolyPolygon.setClosed(true);
}
@@ -1330,7 +1330,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly)
const basegfx::B2DPolygon aPolygon(aPolyPolygon.getB2DPolygon(0));
const sal_uInt32 nPointCount(aPolygon.count());
- if(nPointCount <= 2L)
+ if(nPointCount <= 2)
{
eKind = OBJ_PATHLINE;
}
@@ -1339,7 +1339,7 @@ void SdrEditView::CombineMarkedObjects(bool bNoPolyPoly)
if(!aPolygon.isClosed())
{
const basegfx::B2DPoint aPointA(aPolygon.getB2DPoint(0));
- const basegfx::B2DPoint aPointB(aPolygon.getB2DPoint(nPointCount - 1L));
+ const basegfx::B2DPoint aPointB(aPolygon.getB2DPoint(nPointCount - 1));
const double fDistance(basegfx::B2DVector(aPointB - aPointA).getLength());
const double fJoinTolerance(10.0);
@@ -1404,18 +1404,18 @@ bool SdrEditView::ImpCanDismantle(const basegfx::B2DPolyPolygon& rPpolyPolygon,
bool bCan(false);
const sal_uInt32 nPolygonCount(rPpolyPolygon.count());
- if(nPolygonCount >= 2L)
+ if(nPolygonCount >= 2)
{
// #i69172# dismantle makes sense with 2 or more polygons in a polyPolygon
bCan = true;
}
- else if(bMakeLines && 1L == nPolygonCount)
+ else if(bMakeLines && 1 == nPolygonCount)
{
// #i69172# ..or with at least 2 edges (curves or lines)
const basegfx::B2DPolygon aPolygon(rPpolyPolygon.getB2DPolygon(0));
const sal_uInt32 nPointCount(aPolygon.count());
- if(nPointCount > 2L)
+ if(nPointCount > 2)
{
bCan = true;
}