From c5c83c8e6c4ddbb7f1fa88b9ab0a67ccbb2627c3 Mon Sep 17 00:00:00 2001 From: mostafa-elsharnoby Date: Sat, 11 Feb 2023 14:20:43 +0200 Subject: [PATCH] tdf#114441 Convert use of sal_uLong to sal_uInt32 Replaced sal_uLong with sal_uInt32 because implementation of the GetValue() returns sal_uInt32. Change-Id: I6e4d9b3f4854da0c60d7ba32b688106639362adc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146821 Tested-by: Hossein Reviewed-by: Hossein --- chart2/source/controller/dialogs/tp_Scale.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart2/source/controller/dialogs/tp_Scale.cxx b/chart2/source/controller/dialogs/tp_Scale.cxx index 7147dfa84a31..b8c9f0598357 100644 --- a/chart2/source/controller/dialogs/tp_Scale.cxx +++ b/chart2/source/controller/dialogs/tp_Scale.cxx @@ -529,7 +529,7 @@ void ScaleTabPage::SetNumFormat() if( !pNumFormatItem ) return; - sal_uLong nFmt = pNumFormatItem->GetValue(); + sal_uInt32 nFmt = pNumFormatItem->GetValue(); Formatter& rFmtFldMax = m_xFmtFldMax->GetFormatter(); rFmtFldMax.SetFormatKey(nFmt);