summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-05-02 18:49:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-02 20:51:05 +0200
commit85af593eac9d40cc715f87a94d390e9e8f48b880 (patch)
tree7f7624321211c84e4487ff902e19ce03a3673900
parentf52d165c887076d6f6ccf928c2be585cfc06058a (diff)
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.grandin@collabora.co.uk>
-rw-r--r--editeng/source/items/numitem.cxx2
-rw-r--r--include/editeng/numitem.hxx3
2 files changed, 2 insertions, 3 deletions
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!)