summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authormostafa-elsharnoby <mostafaelsharnobi@gmail.com>2023-02-11 14:20:43 +0200
committerHossein <hossein@libreoffice.org>2023-05-08 12:57:18 +0200
commitc5c83c8e6c4ddbb7f1fa88b9ab0a67ccbb2627c3 (patch)
tree6757c8e20921379c6a517bb44e99919337fcedb4 /chart2/source
parent240c2410973e5eec1793656538619560a28a500f (diff)
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 <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/controller/dialogs/tp_Scale.cxx2
1 files changed, 1 insertions, 1 deletions
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);