diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-12-21 13:52:56 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-12-22 12:59:45 +0100 |
commit | e0f13ce0f9e2dac836c42141bb848d2bf4fbda75 (patch) | |
tree | 0a479240a8cf6830935b61ff9f51c741db297e4a /sw/inc/ndarr.hxx | |
parent | 25aa814aa466cb0a59e34dfef33c50065c445f60 (diff) |
sw: simplify SwNodes::FindPrvNxtFrameNode(), pEnd is always passed
Change-Id: I6bd606e8c70704cb716b1eb474934dedb54d81da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127270
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/inc/ndarr.hxx')
-rw-r--r-- | sw/inc/ndarr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 5393af72e776..28c96cc8a249 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -301,8 +301,8 @@ public: const SwDoc& GetDoc() const { return m_rMyDoc; } /** Search previous / next content node or table node with frames. - If no end is given begin with the FrameIndex, else start search - with that before rFrameIdx and pEnd at the back. + Search is started backward with the one before rFrameIdx and + forward after pEnd. If no valid node is found, return 0. rFrameIdx points to the node with frames. **/ SwNode* FindPrvNxtFrameNode( SwNodeIndex& rFrameIdx, const SwNode* pEnd ) const; |