diff options
Diffstat (limited to 'sw/source/core/inc/noteurl.hxx')
-rw-r--r-- | sw/source/core/inc/noteurl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/inc/noteurl.hxx b/sw/source/core/inc/noteurl.hxx index bf23966d1a3d..647e46511991 100644 --- a/sw/source/core/inc/noteurl.hxx +++ b/sw/source/core/inc/noteurl.hxx @@ -48,7 +48,7 @@ public: const String& GetURL() const { return aURL; } const String& GetTarget() const { return aTarget; } const SwRect& GetRect() const { return aRect; } - BOOL operator==( const SwURLNote& rSwURLNote ) const + sal_Bool operator==( const SwURLNote& rSwURLNote ) const { return aRect == rSwURLNote.aRect; } }; @@ -60,10 +60,10 @@ class SwNoteURL SwURLNoteList aList; public: SwNoteURL() {} - USHORT Count() const { return aList.Count(); } + sal_uInt16 Count() const { return aList.Count(); } void InsertURLNote( const String& rURL, const String& rTarget, const SwRect& rRect ); - const SwURLNote& GetURLNote( USHORT nPos ) const + const SwURLNote& GetURLNote( sal_uInt16 nPos ) const { return *aList.GetObject( nPos ); } void FillImageMap( ImageMap* pMap, const Point& rPos, const MapMode& rMap ); }; |