diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 10:14:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-15 13:26:08 +0000 |
commit | 2e5ec4f5b6cf295c64598c4284f01814d218c489 (patch) | |
tree | 703704f70f86cc24bdc043ff8d16570bb3cb2f59 /sw/source/filter/writer | |
parent | ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (diff) |
Related: #i17171# big xub_Strlen -> sal_Int32 changes
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
Diffstat (limited to 'sw/source/filter/writer')
-rw-r--r-- | sw/source/filter/writer/writer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx index d05364c01c87..eece35d3da4e 100644 --- a/sw/source/filter/writer/writer.cxx +++ b/sw/source/filter/writer/writer.cxx @@ -392,8 +392,8 @@ void Writer::CreateBookmarkTbl() // search alle Bookmarks in the range and return it in the Array -sal_uInt16 Writer::GetBookmarks(const SwCntntNode& rNd, xub_StrLen nStt, - xub_StrLen nEnd, std::vector< const ::sw::mark::IMark* >& rArr) +sal_uInt16 Writer::GetBookmarks(const SwCntntNode& rNd, sal_Int32 nStt, + sal_Int32 nEnd, std::vector< const ::sw::mark::IMark* >& rArr) { OSL_ENSURE( rArr.empty(), "there are still entries available" ); @@ -412,7 +412,7 @@ sal_uInt16 Writer::GetBookmarks(const SwCntntNode& rNd, xub_StrLen nStt, for( SwBookmarkNodeTable::const_iterator it = aIterPair.first; it != aIterPair.second; ++it ) { const ::sw::mark::IMark& rBkmk = *(it->second); - xub_StrLen nCntnt; + sal_Int32 nCntnt; if( rBkmk.GetMarkPos().nNode == nNd && (nCntnt = rBkmk.GetMarkPos().nContent.GetIndex() ) >= nStt && nCntnt < nEnd ) |