summaryrefslogtreecommitdiff
path: root/include/svl/style.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 /include/svl/style.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 'include/svl/style.hxx')
-rw-r--r--include/svl/style.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index fc12dc0be74e..0e3a09ec442e 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -125,7 +125,7 @@ protected:
SfxItemSet* pSet; // ItemSet
SfxStyleSearchBits nMask; // Flags
- sal_uLong nHelpId; // help ID
+ sal_uInt32 nHelpId; // help ID
bool bMySet; // sal_True: delete Set in dtor
bool bHidden;
@@ -169,8 +169,8 @@ public:
virtual bool IsHidden() const { return bHidden; }
virtual void SetHidden( bool bValue );
- virtual sal_uLong GetHelpId( OUString& rFile );
- virtual void SetHelpId( const OUString& r, sal_uLong nId );
+ virtual sal_uInt32 GetHelpId( OUString& rFile );
+ virtual void SetHelpId( const OUString& r, sal_uInt32 nId );
virtual SfxItemSet& GetItemSet();
/// Due to writer's usual lack of sanity this is a separate function for