diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-02-21 20:52:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-02-22 08:54:04 +0100 |
commit | 775c75b8f36a09d6028de959f30efa7a20964919 (patch) | |
tree | 5a0e15d87505097863e9d91c163029ac3b3b227a /sw | |
parent | 122ebe3ac77056ef381981d641ea5d03b2a62001 (diff) |
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 <vmiklos@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/ndnotxt.hxx | 3 | ||||
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 2 |
2 files changed, 2 insertions, 3 deletions
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 |