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/inc/crsrsh.hxx | |
parent | ba27366f3d6bc6b209ecd5c5cb79a9ee5315316a (diff) |
Related: #i17171# big xub_Strlen -> sal_Int32 changes
Change-Id: I31bce794c95062abfa1171c13cf565498688b5f3
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r-- | sw/inc/crsrsh.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index cfb409f7e041..4bcbf35262ca 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -286,7 +286,7 @@ protected: // set all PaMs in OldNode to NewPos + Offset void PaMCorrAbs(const SwNodeIndex &rOldNode, const SwPosition &rNewPos, - const xub_StrLen nOffset = 0 ); + const sal_Int32 nOffset = 0 ); bool _SelTblRowOrCol( bool bRow, bool bRowSimple = false ); @@ -690,7 +690,7 @@ public: // get the nth character from the start or end of the current selection sal_Unicode GetChar( sal_Bool bEnd = sal_True, long nOffset = 0 ); - sal_Bool ExtendSelection( sal_Bool bEnd = sal_True, xub_StrLen nCount = 1 ); + sal_Bool ExtendSelection( sal_Bool bEnd = sal_True, sal_Int32 nCount = 1 ); // Place only the visible cursor at the given position in the document. // Return FALSE if SPoint was corrected by layout. @@ -717,8 +717,8 @@ public: bool CrsrInsideInputFld() const; bool PosInsideInputFld( const SwPosition& rPos ) const; bool DocPtInsideInputFld( const Point& rDocPt ) const; - xub_StrLen StartOfInputFldAtPos( const SwPosition& rPos ) const; - xub_StrLen EndOfInputFldAtPos( const SwPosition& rPos ) const; + sal_Int32 StartOfInputFldAtPos( const SwPosition& rPos ) const; + sal_Int32 EndOfInputFldAtPos( const SwPosition& rPos ) const; // Return number of cursors in ring (The flag indicates whether // only cursors containing selections are requested). @@ -799,8 +799,8 @@ public: bool GotoINetAttr( const SwTxtINetFmt& rAttr ); const SwFmtINetFmt* FindINetAttr( const OUString& rName ) const; - sal_Bool SelectTxt( const xub_StrLen nStart, - const xub_StrLen nEnd ); + sal_Bool SelectTxt( const sal_Int32 nStart, + const sal_Int32 nEnd ); sal_Bool CheckTblBoxCntnt( const SwPosition* pPos = 0 ); void SaveTblBoxCntnt( const SwPosition* pPos = 0 ); |