summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-26 13:50:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-26 13:50:41 +0100
commitfebc1161d17c6f6569b9fab98246ad7d6be41221 (patch)
treebf5477309d8715a6f991d3c5c998e4d64a0cebb5 /svx/source
parent4c0040b6f1e3137e0d40aab09088c43214db3165 (diff)
Clean up use of integer types
Change-Id: Ief9b377b4352796e19797c397e677e9f8397cc53
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx
index d8b324beb1ad..b8accf9367c3 100644
--- a/svx/source/customshapes/EnhancedCustomShape2d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx
@@ -1440,7 +1440,7 @@ static basegfx::B2DPolygon CreateArc( const Rectangle& rRect, const Point& rStar
return aRetval;
}
-void EnhancedCustomShape2d::CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegmentInd, std::vector< SdrPathObj* >& rObjectList,
+void EnhancedCustomShape2d::CreateSubPath( sal_Int32& rSrcPt, sal_Int32& rSegmentInd, std::vector< SdrPathObj* >& rObjectList,
const bool bLineGeometryNeededOnly,
const bool bSortFilledObjectsToBack,
sal_Int32 nIndex )
@@ -2219,14 +2219,13 @@ SdrObject* EnhancedCustomShape2d::CreatePathObj( bool bLineGeometryNeededOnly )
if ( !nCoordSize )
return nullptr;
- sal_uInt16 nSrcPt = 0;
- sal_uInt16 nSegmentInd = 0;
-
std::vector< SdrPathObj* > vObjectList;
bool bSortFilledObjectsToBack = SortFilledObjectsToBackByDefault( eSpType );
sal_Int32 nSubPathIndex = 0;
+ sal_Int32 nSrcPt = 0;
+ sal_Int32 nSegmentInd = 0;
while( nSegmentInd <= seqSegments.getLength() )
{
CreateSubPath( nSrcPt, nSegmentInd, vObjectList, bLineGeometryNeededOnly, bSortFilledObjectsToBack, nSubPathIndex );