diff options
Diffstat (limited to 'svx/inc/xpolyimp.hxx')
-rwxr-xr-x[-rw-r--r--] | svx/inc/xpolyimp.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx index 1b347942db89..89bb149e32a6 100644..100755 --- a/svx/inc/xpolyimp.hxx +++ b/svx/inc/xpolyimp.hxx @@ -37,15 +37,15 @@ class ImpXPolygon { public: Point* pPointAry; - BYTE* pFlagAry; + sal_uInt8* pFlagAry; Point* pOldPointAry; - BOOL bDeleteOldPoints; - USHORT nSize; - USHORT nResize; - USHORT nPoints; - USHORT nRefCount; + sal_Bool bDeleteOldPoints; + sal_uInt16 nSize; + sal_uInt16 nResize; + sal_uInt16 nPoints; + sal_uInt16 nRefCount; - ImpXPolygon( USHORT nInitSize = 16, USHORT nResize=16 ); + ImpXPolygon( sal_uInt16 nInitSize = 16, sal_uInt16 nResize=16 ); ImpXPolygon( const ImpXPolygon& rImpXPoly ); ~ImpXPolygon(); @@ -57,13 +57,13 @@ public: if ( bDeleteOldPoints ) { delete[] (char*)pOldPointAry; - bDeleteOldPoints = FALSE; + bDeleteOldPoints = sal_False; } } - void Resize( USHORT nNewSize, BOOL bDeletePoints = TRUE ); - void InsertSpace( USHORT nPos, USHORT nCount ); - void Remove( USHORT nPos, USHORT nCount ); + void Resize( sal_uInt16 nNewSize, sal_Bool bDeletePoints = sal_True ); + void InsertSpace( sal_uInt16 nPos, sal_uInt16 nCount ); + void Remove( sal_uInt16 nPos, sal_uInt16 nCount ); }; typedef ::std::vector< XPolygon* > XPolygonList; @@ -72,7 +72,7 @@ class ImpXPolyPolygon { public: XPolygonList aXPolyList; - USHORT nRefCount; + sal_uInt16 nRefCount; ImpXPolyPolygon() { nRefCount = 1; } ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly ); |