summaryrefslogtreecommitdiff
path: root/svl/source
diff options
context:
space:
mode:
authorbuldi <dobrakowskirafal@gmail.com>2023-07-06 00:10:57 +0200
committerHossein <hossein@libreoffice.org>2024-01-04 12:38:38 +0100
commitf5e5e86144152e5f98cbb985939a883936fe86d7 (patch)
tree8d8af825c262e1d577fee05401be4a09cb07506f /svl/source
parentbe1480264062eff93d8307ae14be1c4e8b9ea0ed (diff)
tdf#114441 sal_uLong to better integer type
At first it seemd that sal_uInt16 may be sufficient for storing possible values. But as elsewhere unsigned 32 bit variables are used for such purpose, sal_uInt32 is used which allows having more space for bigger values. Change-Id: Ic2834ffc0fcabad91175aba3753e832dc1807fbe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151006 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'svl/source')
-rw-r--r--svl/source/items/style.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 41551e506498..0b0054984a4c 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -270,13 +270,13 @@ std::optional<SfxItemSet> SfxStyleSheetBase::GetItemSetForPreview()
/**
* Set help file and ID and return it
*/
-sal_uLong SfxStyleSheetBase::GetHelpId( OUString& rFile )
+sal_uInt32 SfxStyleSheetBase::GetHelpId( OUString& rFile )
{
rFile = aHelpFile;
return nHelpId;
}
-void SfxStyleSheetBase::SetHelpId( const OUString& rFile, sal_uLong nId )
+void SfxStyleSheetBase::SetHelpId( const OUString& rFile, sal_uInt32 nId )
{
aHelpFile = rFile;
nHelpId = nId;