summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/spelleng.cxx
diff options
context:
space:
mode:
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);