summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly.cxx')
-rw-r--r--tools/source/generic/poly.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index c25783764f27..06f1c1787b2b 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -774,7 +774,7 @@ Point ImplEdgePointFilter::EdgeSection( const Point& rPoint, int nEdge ) const
else
ady += mn/2;
ady /= mn;
- nNewX = static_cast<tools::Long>(ady) + lx;
+ nNewX = static_cast<sal_Int32>(ady) + lx;
}
}
else
@@ -800,7 +800,7 @@ Point ImplEdgePointFilter::EdgeSection( const Point& rPoint, int nEdge ) const
else
adx += md/2;
adx /= md;
- nNewY = static_cast<tools::Long>(adx) + ly;
+ nNewY = static_cast<sal_Int32>(adx) + ly;
}
}