diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-24 09:18:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-24 20:19:16 +0100 |
commit | cd198a34113e8fa8d1060c815b0320a52b089059 (patch) | |
tree | 85a8a3b73646ff15350c70ae733f69090f8e11dd /include | |
parent | 51c735d5109c487fcb876379a16f170c19a98f93 (diff) |
ofz#41345 Negative-size-param
Change-Id: I7398fc39c84670f455993c80ea6c9defbcf911d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125752
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
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 a2b4ae7e7181..bd41ffd16940 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -317,8 +317,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; |