sw/inc/ndnotxt.hxx | 3 +-- sw/source/core/inc/txtfrm.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit 775c75b8f36a09d6028de959f30efa7a20964919 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Feb 21 20:52:24 2022 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Tue Feb 22 08:54:04 2022 +0100 sw: document SwNoTextNode Also make it a bit more clear that GetCharRect() and GetModelPositionForViewPoint() are the opposite of each other. Change-Id: I1ec2b57c047522e98c2fde0a4b698d5816884dea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130304 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/sw/inc/ndnotxt.hxx b/sw/inc/ndnotxt.hxx index 2782ab66c840..a73260a06c6c 100644 --- a/sw/inc/ndnotxt.hxx +++ b/sw/inc/ndnotxt.hxx @@ -25,8 +25,7 @@ class Size; -// SwNoTextNode - +/// Layout frame for SwNoTextNode, i.e. graphics and OLE nodes (including charts). class SW_DLLPUBLIC SwNoTextNode : public SwContentNode { friend class SwNodes; diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index f1016eb9a1e0..49af6a5c2476 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -349,7 +349,7 @@ public: void CollectAutoCmplWrds(SwTextNode &, sal_Int32); /** - * Returns the screen position of rPos. The values are relative to the upper + * Returns the view rectangle for the rPos model position. The values are relative to the upper * left position of the page frame. * Additional information can be obtained by passing an SwCursorMoveState object. * Returns false if rPos > number of character is string