summaryrefslogtreecommitdiff
path: root/sw/source/core/text/noteurl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/noteurl.cxx')
-rw-r--r--sw/source/core/text/noteurl.cxx8
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() );