summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorRafaƂ Dobrakowski <dobrakowskirafal@gmail.com>2024-03-18 00:05:44 +0100
committerHossein <hossein@libreoffice.org>2024-04-10 13:55:11 +0200
commit97af15c86ccd4f780d7cf8e79cd49cd2e9aef5f6 (patch)
tree4da5d2c7aaeb4228049b08aa0ea5b287efa1cbb9 /sc/source/ui/docshell
parentfa42bdabcab05bd6c671b9e255f4ffe6293bc0e9 (diff)
tdf#114441 Convert sal_uLong to better integer types
This patch changes the usage of type sal_uLong in sc module to sal_Int32. Looking into ScRefreshTimer constructor in sc/inc/refreshtimer.hxx, it becomes clear that sal_Int32 is a good choice. The usage is for communicating the refresh delay, measured in seconds. The reason to use signed variables is to follow the convention in ScRefreshTimer class. Change-Id: Ib565fd50ec4e6a46e95e9db06b7798a0b4a38d4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164957 Tested-by: Hossein <hossein@libreoffice.org> Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/docsh6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx
index 02ba51f8d795..34092f13feed 100644
--- a/sc/source/ui/docshell/docsh6.cxx
+++ b/sc/source/ui/docshell/docsh6.cxx
@@ -352,7 +352,7 @@ void ScDocShell::UpdateLinks()
OUString aDocName = m_pDocument->GetLinkDoc(i);
OUString aFltName = m_pDocument->GetLinkFlt(i);
OUString aOptions = m_pDocument->GetLinkOpt(i);
- sal_uInt32 nRefresh = m_pDocument->GetLinkRefreshDelay(i);
+ sal_Int32 nRefresh = m_pDocument->GetLinkRefreshDelay(i);
bool bThere = false;
for (SCTAB j = 0; j < i && !bThere; ++j) // several times in the document?
{