summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorVaibhavMalik4187 <vaibhavmalik2018@gmail.com>2022-03-16 15:50:01 +0530
committerHossein <hossein@libreoffice.org>2022-03-18 21:06:56 +0100
commitf433d9cf8be6507f0299492794da9ed5d749a6ad (patch)
treeed33bc3e696254d404afd6f097d3a7e4b44f297e /cui/source
parentfdbda2901080d3638475638f693299eca7c1cd7f (diff)
tdf#114441 Convert sal_uLong to other types
Change-Id: I5651788dad4386aa325e20fa8bbfc0908dbfa629 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128767 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/numfmt.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 5ef4f7c96b96..63dc3828bb7b 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -1281,10 +1281,10 @@ IMPL_LINK( SvxNumberFormatTabPage, ClickHdl_Impl, weld::Button&, rIB, void)
bool SvxNumberFormatTabPage::Click_Impl(const weld::Button& rIB)
{
- sal_uLong nReturn = 0;
- constexpr sal_uLong nReturnChanged = 0x1; // THE boolean return value
- constexpr sal_uLong nReturnAdded = 0x2; // temp: format added
- constexpr sal_uLong nReturnOneArea = 0x4; // temp: one area but category changed => ignored
+ sal_uInt8 nReturn = 0;
+ constexpr sal_uInt8 nReturnChanged = 0x1; // THE boolean return value
+ constexpr sal_uInt8 nReturnAdded = 0x2; // temp: format added
+ constexpr sal_uInt8 nReturnOneArea = 0x4; // temp: one area but category changed => ignored
if (&rIB == m_xIbAdd.get())
{ // Also called from FillItemSet() if a temporary currency format has