diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-24 09:18:41 +0000 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-12-09 17:23:52 +0100 |
commit | 433c91206991c10b4ce2d7149dafa018f50e39dd (patch) | |
tree | d02865f344975b6f729469e9fa521cbcb897dcf1 /include | |
parent | a13bcd81920676d5f84bff2f03d71f39680a617a (diff) |
ofz#41345 Negative-size-param
Change-Id: I7398fc39c84670f455993c80ea6c9defbcf911d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125724
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/unotext.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 8a029b72a1b1..6e100d27e1c3 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -313,8 +313,8 @@ public: void CollapseToStart() noexcept; void CollapseToEnd() noexcept; bool IsCollapsed() noexcept; - bool GoLeft(sal_Int16 nCount, bool Expand) noexcept; - bool GoRight(sal_Int16 nCount, bool Expand) noexcept; + bool GoLeft(sal_Int32 nCount, bool Expand) noexcept; + bool GoRight(sal_Int32 nCount, bool Expand) noexcept; void GotoStart(bool Expand) noexcept; void GotoEnd(bool Expand) noexcept; |