diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-10-14 09:29:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-10-14 10:44:52 +0200 |
commit | d296a0a271bcce56e15c4d8a577d4e0d368f7533 (patch) | |
tree | 72ac6031e9fd32a35efd8618dbfd9330a66b63a4 /include/editeng | |
parent | Use more appropriate type for OString-length related variable (diff) | |
download | core-d296a0a271bcce56e15c4d8a577d4e0d368f7533.tar.gz core-d296a0a271bcce56e15c4d8a577d4e0d368f7533.zip |
Use more appropriate return type for some editeng functions
...whose return values are OUString-length related:
* ContentNode::GetExpandedLen from sal_uLong to sal_Int32
* EditDoc::GetTextLen from sal_uLong to sal_Int32
* EditEngine::GetTextLen from sal_uInt32 to sal_Int32
Change-Id: Ia5156e247906728e2130b321af15cda7669108ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123576
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editeng.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 97b1437f3b5d..db50eb2ac5ec 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -278,7 +278,7 @@ public: OUString GetText( LineEnd eEnd = LINEEND_LF ) const; OUString GetText( const ESelection& rSelection ) const; - sal_uInt32 GetTextLen() const; + sal_Int32 GetTextLen() const; sal_uInt32 GetTextHeight() const; sal_uInt32 GetTextHeightNTP() const; sal_uInt32 CalcTextWidth(); |