filter/source/msfilter/escherex.cxx | 6 +++--- include/filter/msfilter/escherex.hxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
New commits: commit e3a9f2bb2f370e76fe641e7de743bf3ed8fc00da Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Aug 12 09:58:41 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Aug 12 15:38:21 2025 +0200 cid#1660214 Overflowed constant make types consistent here Change-Id: I9e0b44d53d0affa2220f956dcaef8a613ff51e7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189411 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 03a542643822..e10a45158b40 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4390,7 +4390,7 @@ struct EscherShapeListEntry {} }; -sal_uInt32 EscherConnectorListEntry::GetClosestPoint( const tools::Polygon& rPoly, const awt::Point& rPoint ) +sal_Int32 EscherConnectorListEntry::GetClosestPoint( const tools::Polygon& rPoly, const awt::Point& rPoint ) { sal_uInt16 nCount = rPoly.GetSize(); sal_uInt16 nClosest = nCount; @@ -4415,9 +4415,9 @@ sal_uInt32 EscherConnectorListEntry::GetClosestPoint( const tools::Polygon& rPol // 2 ->Bottom 4 ->Bottom // 3 ->Right 6 ->Right -sal_uInt32 EscherConnectorListEntry::GetConnectorRule( bool bFirst ) +sal_Int32 EscherConnectorListEntry::GetConnectorRule( bool bFirst ) { - sal_uInt32 nRule = 0; + sal_Int32 nRule = 0; uno::Any aAny; awt::Point aRefPoint( bFirst ? maPointA : maPointB ); diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index d6c1b620f077..6849f7e0611c 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -460,7 +460,7 @@ struct MSFILTER_DLLPUBLIC EscherConnectorListEntry css::awt::Point maPointB; css::uno::Reference< css::drawing::XShape > mXConnectToB; - sal_uInt32 GetConnectorRule( bool bFirst ); + sal_Int32 GetConnectorRule( bool bFirst ); EscherConnectorListEntry( css::uno::Reference< css::drawing::XShape > xC, const css::awt::Point& rPA, @@ -473,7 +473,7 @@ struct MSFILTER_DLLPUBLIC EscherConnectorListEntry maPointB ( rPB ), mXConnectToB(std::move( xSB )) {} - static sal_uInt32 GetClosestPoint( const tools::Polygon& rPoly, const css::awt::Point& rP ); + static sal_Int32 GetClosestPoint(const tools::Polygon& rPoly, const css::awt::Point& rP); }; struct MSFILTER_DLLPUBLIC EscherExContainer