editeng/source/outliner/outlin2.cxx | 2 +- include/editeng/outliner.hxx | 2 +- svx/source/svdraw/svdview.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 51f9e057a83b442f848dbcff1887b4fc59f26658 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sat Dec 7 12:08:25 2024 +0000 Commit: Nagy Tibor <tibor.nagy.ext...@allotropia.de> CommitDate: Mon Dec 9 23:47:57 2024 +0100 cid#1636582 Negative loop bound Change-Id: Ib91ee62814837765f89f65a1204021e9d9610e53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178035 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> (cherry picked from commit 88986086f9d785491f7430a66bbc255dd737738b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178175 Tested-by: allotropia jenkins <jenk...@allotropia.de> Reviewed-by: Nagy Tibor <tibor.nagy.ext...@allotropia.de> diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx index 22723698d994..305706f0eeef 100644 --- a/editeng/source/outliner/outlin2.cxx +++ b/editeng/source/outliner/outlin2.cxx @@ -308,7 +308,7 @@ bool Outliner::IsInUndo() const return pEditEngine->IsInUndo(); } -sal_uInt32 Outliner::GetLineCount( sal_Int32 nParagraph ) const +sal_Int32 Outliner::GetLineCount( sal_Int32 nParagraph ) const { return pEditEngine->GetLineCount( nParagraph ); } diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index c5ed7dedd47e..5f326c801ad5 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -879,7 +879,7 @@ public: SAL_DLLPRIVATE const Link<Outliner*,void>& GetEndMovingHdl() const {return aEndMovingHdl;} SAL_DLLPRIVATE void SetEndMovingHdl( const Link<Outliner*,void>& rLink){aEndMovingHdl=rLink;} - sal_uInt32 GetLineCount( sal_Int32 nParagraph ) const; + sal_Int32 GetLineCount( sal_Int32 nParagraph ) const; sal_Int32 GetLineLen( sal_Int32 nParagraph, sal_Int32 nLine ) const; sal_uInt32 GetLineHeight( sal_Int32 nParagraph, sal_Int32 nLine = 0 ); diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx index ccc4c01e5040..ff23cd4ec38e 100644 --- a/svx/source/svdraw/svdview.cxx +++ b/svx/source/svdraw/svdview.cxx @@ -1247,7 +1247,7 @@ OUString SdrView::GetStatusText() // At the end of a line of any multi-line paragraph, we display the // position of the next line of the same paragraph, if there is one. sal_uInt16 nParaLine = 0; - sal_uInt32 nParaLineCount = mpTextEditOutliner->GetLineCount(aSel.end.nPara); + sal_Int32 nParaLineCount = mpTextEditOutliner->GetLineCount(aSel.end.nPara); bool bBrk = false; while (!bBrk) {