editeng/source/items/numitem.cxx | 2 +- include/editeng/numitem.hxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit 85af593eac9d40cc715f87a94d390e9e8f48b880 Author: Noel Grandin <noelgran...@gmail.com> AuthorDate: Sun May 2 18:49:44 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun May 2 20:51:05 2021 +0200 sal_uLong->sal_Int32 in SvxNumberFormat Change-Id: Iaacef8d6b12f7d4257455e920a798b5cc2499d3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115005 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 0c48262f323f..66e7824d278a 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -514,7 +514,7 @@ Size SvxNumberFormat::GetGraphicSizeMM100(const Graphic* pGraphic) return aRetSize; } -OUString SvxNumberFormat::CreateRomanString( sal_uLong nNo, bool bUpper ) +OUString SvxNumberFormat::CreateRomanString( sal_Int32 nNo, bool bUpper ) { nNo %= 4000; // more can not be displayed // i, ii, iii, iv, v, vi, vii, vii, viii, ix diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 992f07b08241..52ca43b256f7 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -20,7 +20,6 @@ #define INCLUDED_EDITENG_NUMITEM_HXX #include <rtl/ustring.hxx> -#include <tools/solar.h> #include <svl/poolitem.hxx> #include <editeng/svxenum.hxx> #include <tools/gen.hxx> @@ -220,7 +219,7 @@ public: tools::Long GetIndentAt() const { return mnIndentAt;} static Size GetGraphicSizeMM100(const Graphic* pGraphic); - static OUString CreateRomanString( sal_uLong nNo, bool bUpper ); + static OUString CreateRomanString( sal_Int32 nNo, bool bUpper ); }; //Feature-Flags (only sal_uInt16!) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits