summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/spelleng.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-23 17:30:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 07:59:16 +0100
commita1c0e999b271ac4c6ecb163a1cd2a310b87e9dec (patch)
tree4ef50e0aec9dd0dc6db0d9927cebe71a512bf5c8 /sc/source/ui/view/spelleng.cxx
parent35f5274ece0fcbb70753a71619b526ed0d4cbd6b (diff)
consistently use sal_uInt32 for number formats in sc
instead of a mix of short/sal_uLong/sal_uInt32 Change-Id: Ie5bd26e1a6f716c0c4e174a6d560827084b3f421 Reviewed-on: https://gerrit.libreoffice.org/45159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/spelleng.cxx')
-rw-r--r--sc/source/ui/view/spelleng.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx
index 7fad99809081..15fedc1f9733 100644
--- a/sc/source/ui/view/spelleng.cxx
+++ b/sc/source/ui/view/spelleng.cxx
@@ -255,7 +255,7 @@ void ScConversionEngineBase::FillFromCell( SCCOL nCol, SCROW nRow, SCTAB nTab )
case CELLTYPE_STRING:
{
SvNumberFormatter* pFormatter = mrDoc.GetFormatTable();
- sal_uLong nNumFmt = mrDoc.GetNumberFormat(aPos);
+ sal_uInt32 nNumFmt = mrDoc.GetNumberFormat(aPos);
OUString aText;
Color* pColor;
ScCellFormat::GetString(aCell, nNumFmt, aText, &pColor, *pFormatter, &mrDoc);