diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 16:27:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 11:25:21 +0200 |
commit | 2e8acde112e1c6754df26902e79a78346ba45a2d (patch) | |
tree | 2d836747a7aafdd0b64ab9aabf01be59e94745d4 /vcl/source/gdi/impvect.cxx | |
parent | 006a7b50546c57e260245d4630de565705f2fc38 (diff) |
remove UL/L suffixes from integer constants on the RHS of expressions
Change-Id: I899a8126c9d971601fea6c77eca165718aea0ac5
Reviewed-on: https://gerrit.libreoffice.org/41237
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/gdi/impvect.cxx')
-rw-r--r-- | vcl/source/gdi/impvect.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/gdi/impvect.cxx b/vcl/source/gdi/impvect.cxx index b8cf13fe727f..a40ad29224ae 100644 --- a/vcl/source/gdi/impvect.cxx +++ b/vcl/source/gdi/impvect.cxx @@ -161,7 +161,7 @@ void ImplPointArray::ImplSetSize( sal_uLong nSize ) const sal_uLong nTotal = nSize * sizeof( Point ); mnSize = nSize; - mnRealSize = 0UL; + mnRealSize = 0; if( mpArray ) rtl_freeMemory( mpArray ); @@ -311,7 +311,7 @@ void ImplChain::ImplBeginAdd( const Point& rStartPt ) { maPoly = tools::Polygon(); maStartPt = rStartPt; - mnCount = 0UL; + mnCount = 0; } inline void ImplChain::ImplAdd( sal_uInt8 nCode ) @@ -914,12 +914,12 @@ bool ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain long nActX = rStartPt.X(); long nActY = rStartPt.Y(); sal_uLong nFound; - sal_uLong nLastDir = 0UL; + sal_uLong nLastDir = 0; sal_uLong nDir; do { - nFound = 0UL; + nFound = 0; // first try last direction long nTryX = nActX + aImplMove[ nLastDir ].nDX; @@ -929,12 +929,12 @@ bool ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain { rChain.ImplAdd( (sal_uInt8) nLastDir ); pMap->Set( nActY = nTryY, nActX = nTryX, VECT_DONE_INDEX ); - nFound = 1UL; + nFound = 1; } else { // try other directions - for( nDir = 0UL; nDir < 8UL; nDir++ ) + for( nDir = 0; nDir < 8; nDir++ ) { // we already tried nLastDir if( nDir != nLastDir ) @@ -946,7 +946,7 @@ bool ImplGetChain( ImplVectMap* pMap, const Point& rStartPt, ImplChain& rChain { rChain.ImplAdd( (sal_uInt8) nDir ); pMap->Set( nActY = nTryY, nActX = nTryX, VECT_DONE_INDEX ); - nFound = 1UL; + nFound = 1; nLastDir = nDir; break; } |