diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-22 17:14:17 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-22 23:50:43 +0200 |
commit | 2a6b9c93af295a6746372bc6ce462a02492f616d (patch) | |
tree | 743607c6395ab97935c5110a137521c5f734c8c5 /sw/source/core/text/noteurl.cxx | |
parent | 1a6bc665eb727763265483132db43aee87288deb (diff) |
Massive KSHORT/MSHORT to sal_uInt16
Change-Id: I82a899ef0cad19d62c41753ffdce07d8e33d6c9d
Diffstat (limited to 'sw/source/core/text/noteurl.cxx')
-rw-r--r-- | sw/source/core/text/noteurl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/text/noteurl.cxx b/sw/source/core/text/noteurl.cxx index d19bc203a792..3d9c0650ac2c 100644 --- a/sw/source/core/text/noteurl.cxx +++ b/sw/source/core/text/noteurl.cxx @@ -31,8 +31,8 @@ SwNoteURL *pNoteURL = NULL; void SwNoteURL::InsertURLNote( const OUString& rURL, const OUString& rTarget, const SwRect& rRect ) { - MSHORT i; - MSHORT nCount = aList.size(); + sal_uInt16 i; + sal_uInt16 nCount = aList.size(); for( i = 0; i < nCount; i++ ) if( rRect == aList[i].GetRect() ) break; @@ -47,11 +47,11 @@ void SwNoteURL::FillImageMap( ImageMap *pMap, const Point &rPos, const MapMode& rMap ) { OSL_ENSURE( pMap, "FillImageMap: No ImageMap, no cookies!" ); - MSHORT nCount = Count(); + sal_uInt16 nCount = Count(); if( nCount ) { MapMode aMap( MAP_100TH_MM ); - for( MSHORT i = 0; i < nCount; ++i ) + for( sal_uInt16 i = 0; i < nCount; ++i ) { const SwURLNote &rNote = GetURLNote( i ); SwRect aSwRect( rNote.GetRect() ); |