diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-04-23 07:46:57 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-05-03 22:31:56 +0200 |
commit | 9fbb74b5b688eb51bf3b849e56841a00b836628c (patch) | |
tree | 9d8085d38e5b470d78e38cd87c0752ddb7f07816 /sw/inc/edimp.hxx | |
parent | f66572b2ff5f27ab938edbe3a2329395aae43c2d (diff) |
sal_uInt16 to size_type
Change-Id: Ib6715c5b61c718302b910a19ef557960e0f7aa93
Diffstat (limited to 'sw/inc/edimp.hxx')
-rw-r--r-- | sw/inc/edimp.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx index 63ef3d0ac332..f43e8579849e 100644 --- a/sw/inc/edimp.hxx +++ b/sw/inc/edimp.hxx @@ -45,13 +45,14 @@ class SwPamRanges : private _SwPamRanges { public: SwPamRanges( const SwPaM& rRing ); + using _SwPamRanges::size_type; void Insert( const SwNodeIndex& rIdx1, const SwNodeIndex& rIdx2 ); - SwPaM& SetPam( sal_uInt16 nArrPos, SwPaM& rPam ); + SwPaM& SetPam( size_type nArrPos, SwPaM& rPam ); - sal_uInt16 Count() const + size_type Count() const { return _SwPamRanges::size(); } - SwPamRange operator[]( sal_uInt16 nPos ) const + SwPamRange operator[]( size_type nPos ) const { return _SwPamRanges::operator[](nPos); } }; |