diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-12-25 17:06:46 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-12-25 18:21:11 +0100 |
commit | 257ff5bea3a40646e7dae88f708c136be93ed1b2 (patch) | |
tree | 3bc51290ad3821f34f4de68d9596c795aa633562 /sw/inc | |
parent | d07f0997c54e9cef31d996ebeb2aabfb4b4e0265 (diff) |
sal_uInt16 to size_t
Change-Id: I66239d89049f1386e5725e540c4dcc2b09c3ebf0
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 4 | ||||
-rw-r--r-- | sw/inc/fesh.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index a7c8926cd4f2..c99118565a17 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -888,8 +888,8 @@ public: /** Access to frames. Iterate over Flys - forr Basic-Collections. */ - sal_uInt16 GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; - SwFrmFmt* GetFlyNum(sal_uInt16 nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ); + size_t GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; + SwFrmFmt* GetFlyNum(size_t nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ); // Copy formats in own arrays and return them. SwFrmFmt *CopyFrmFmt ( const SwFrmFmt& ); diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index 4896406e76a4..079ef712f8bb 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -376,8 +376,8 @@ public: { return GotoObj( false, eType); } /// Iterate over flys - for Basic-collections. - sal_uInt16 GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; - const SwFrmFmt* GetFlyNum(sal_uInt16 nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false) const; + size_t GetFlyCount( FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false ) const; + const SwFrmFmt* GetFlyNum(size_t nIdx, FlyCntType eType = FLYCNTTYPE_ALL, bool bIgnoreTextBoxes = false) const; /// If a fly is selected, it draws cursor into the first CntntFrm. const SwFrmFmt* SelFlyGrabCrsr(); |