summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.hxx
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 /sw/inc/numrule.hxx
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 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index b21cc5259656..20ac33bbfc60 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -254,7 +254,7 @@ public:
/// Query and set Help-IDs for document styles.
sal_uInt16 GetPoolHelpId() const { return mnPoolHelpId; }
- void SetPoolHelpId( sal_uInt16 nId ) { mnPoolHelpId = nId; }
+ void SetPoolHelpId( sal_uInt32 nId ) { mnPoolHelpId = nId; }
sal_uInt8 GetPoolHlpFileId() const { return mnPoolHlpFileId; }
void SetPoolHlpFileId( sal_uInt8 nId ) { mnPoolHlpFileId = nId; }