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/ndarr.hxx | |
parent | 03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (diff) |
loplugin:staticmethods
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 4384bcfa4665..158b8dc2d0a8 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -117,7 +117,7 @@ class SW_DLLPUBLIC SwNodes bool bInDelUpdNum : 1; ///< Flag for updating of Outline. // Actions on the nodes. - void SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEnd ); + static void SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEnd ); void DelNodes( const SwNodeIndex& rStart, sal_uLong nCnt = 1 ); void ChgNode( SwNodeIndex& rDelPos, sal_uLong nSize, @@ -167,7 +167,7 @@ public: Implementation in doc.hxx (because one needs to know Doc for it) ! */ bool IsDocNodes() const; - sal_uInt16 GetSectionLevel(const SwNodeIndex &rIndex) const; + static sal_uInt16 GetSectionLevel(const SwNodeIndex &rIndex); void Delete(const SwNodeIndex &rPos, sal_uLong nNodes = 1); bool _MoveNodes( const SwNodeRange&, SwNodes& rNodes, const SwNodeIndex&, @@ -183,11 +183,11 @@ public: bool CheckNodesRange( const SwNodeIndex& rStt, const SwNodeIndex& rEnd ) const; - void GoStartOfSection(SwNodeIndex *) const; - void GoEndOfSection(SwNodeIndex *) const; + static void GoStartOfSection(SwNodeIndex *); + static void GoEndOfSection(SwNodeIndex *); SwCntntNode* GoNext(SwNodeIndex *) const; - SwCntntNode* GoPrevious(SwNodeIndex *) const; + static SwCntntNode* GoPrevious(SwNodeIndex *); /** Go to next/previous Cntnt/Table-node for which LayoutFrames exist. While doing this do not leave Header/Footer/Frame etc. */ @@ -198,13 +198,13 @@ public: (Both set FALSE ==> GoNext/GoPrevious!!!). */ SwCntntNode* GoNextSection( SwNodeIndex *, bool bSkipHidden = true, bool bSkipProtect = true ) const; - SwCntntNode* GoPrevSection( SwNodeIndex *, bool bSkipHidden = true, - bool bSkipProtect = true ) const; + static SwCntntNode* GoPrevSection( SwNodeIndex *, bool bSkipHidden = true, + bool bSkipProtect = true ); /** Create an empty section of Start- and EndNote. It may be called only if a new section with content is to be created, e.g. at filters/Undo/... */ - SwStartNode* MakeEmptySection( const SwNodeIndex& rIdx, + static SwStartNode* MakeEmptySection( const SwNodeIndex& rIdx, SwStartNodeType = SwNormalStartNode ); /// Implementations of "Make...Node" are in the given .cxx-files. @@ -216,7 +216,7 @@ public: SwTxtFmtColl *pColl, SwAttrSet* pAutoAttr = 0 ); - SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, + static SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, const OUString& rGrfName, const OUString& rFltName, const Graphic* pGraphic, @@ -224,7 +224,7 @@ public: SwAttrSet* pAutoAttr = 0, bool bDelayed = false ); ///< in ndgrf.cxx - SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, + static SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, const GraphicObject& rGrfObj, SwGrfFmtColl *pColl, SwAttrSet* pAutoAttr = 0 ); ///< in ndgrf.cxx @@ -253,7 +253,7 @@ public: adjust in pCntntTxtColl or pHeadlineTxtColl this adjust item overrides the item in pAttrSet. */ - SwTableNode* InsertTable( const SwNodeIndex& rNdIdx, + static SwTableNode* InsertTable( const SwNodeIndex& rNdIdx, sal_uInt16 nBoxes, SwTxtFmtColl* pCntntTxtColl, sal_uInt16 nLines = 0, sal_uInt16 nRepeat = 0, SwTxtFmtColl* pHeadlineTxtColl = 0, @@ -267,7 +267,7 @@ public: SwTxtFmtColl* pTxtColl, SwUndoTxtToTbl* pUndo = 0 ); - SwNodeRange * ExpandRangeForTableBox(const SwNodeRange & rRange); + static SwNodeRange * ExpandRangeForTableBox(const SwNodeRange & rRange); /// create a table from a vector of NodeRanges - API support SwTableNode* TextToTable( const TableRanges_t& rTableNodes, |