diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-04 10:29:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 09:30:41 +0200 |
commit | 259820af718fe15ea5080711f77918dad8f14fbb (patch) | |
tree | a80039fad41dfbfaeaa8fe0b7403c29336f37861 /sw/inc/crsrsh.hxx | |
parent | 03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (diff) |
loplugin:staticmethods
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
Diffstat (limited to 'sw/inc/crsrsh.hxx')
-rw-r--r-- | sw/inc/crsrsh.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index b84fc43f21aa..31fdbe224916 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -703,18 +703,18 @@ public: bool GotoFld( const SwFmtFld& rFld ); - SwTxtFld* GetTxtFldAtPos( + static SwTxtFld* GetTxtFldAtPos( const SwPosition* pPos, - const bool bIncludeInputFldAtStart ) const; - SwField* GetFieldAtCrsr( + const bool bIncludeInputFldAtStart ); + static SwField* GetFieldAtCrsr( const SwPaM* pCrsr, - const bool bIncludeInputFldAtStart ) const; + const bool bIncludeInputFldAtStart ); SwField* GetCurFld( const bool bIncludeInputFldAtStart = false ) const; bool CrsrInsideInputFld() const; - bool PosInsideInputFld( const SwPosition& rPos ) const; + static bool PosInsideInputFld( const SwPosition& rPos ); bool DocPtInsideInputFld( const Point& rDocPt ) const; - sal_Int32 StartOfInputFldAtPos( const SwPosition& rPos ) const; - sal_Int32 EndOfInputFldAtPos( const SwPosition& rPos ) const; + static sal_Int32 StartOfInputFldAtPos( const SwPosition& rPos ); + static sal_Int32 EndOfInputFldAtPos( const SwPosition& rPos ); // Return number of cursors in ring (The flag indicates whether // only cursors containing selections are requested). @@ -822,10 +822,10 @@ public: // is cursor or the point in/over a right to left formatted text? bool IsInRightToLeftText( const Point* pPt = 0 ) const; - void FirePageChangeEvent(sal_uInt16 nOldPage, sal_uInt16 nNewPage); + static void FirePageChangeEvent(sal_uInt16 nOldPage, sal_uInt16 nNewPage); bool bColumnChange(); - void FireSectionChangeEvent(sal_uInt16 nOldSection, sal_uInt16 nNewSection); - void FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 nNewColumn); + static void FireSectionChangeEvent(sal_uInt16 nOldSection, sal_uInt16 nNewSection); + static void FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 nNewColumn); // If the current cursor position is inside a hidden range, the hidden range // is selected and true is returned: bool SelectHiddenRange(); |