summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorLeonid Ryzhov <leoryzhov@gmail.com>2022-12-03 11:00:42 +0300
committerHossein <hossein@libreoffice.org>2022-12-20 09:33:20 +0000
commit3cc818c38e11c0882bc3ad32ffd0019a9ad38643 (patch)
treed2f59fdfd099552a83393bfeceea6b29826a072b /sw/source/filter/html
parent50a08d1eb47f8faeb511cec43d1f8ba12b8f27f7 (diff)
tdf#114441 Convert use of sal_uLong to better integer types
sw/source/filter/html/parcss1.cxx: all variables are temporary storage for values of type sal_uInt32; sw/source/uibase/uiview/scroll.cxx: nVisSize removed, GetVisibleSize() used as parameter in the setPageSize(); sw/source/uibase/utlui/glbltree.cxx:int is used for nSelCount; int is used for nSource, nDest and nEntryCount; Change-Id: Ifdf4de276306bc3b89f6e1198fe03ec94aefd18e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143746 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/parcss1.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index 50278e160483..db126e28d2bd 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -374,8 +374,8 @@ CSS1Token CSS1Parser::GetNextToken()
// save current position
sal_Int32 nInPosOld = m_nInPos;
sal_Unicode cNextChOld = m_cNextCh;
- sal_uLong nlLineNrOld = m_nlLineNr;
- sal_uLong nlLinePosOld = m_nlLinePos;
+ sal_uInt32 nlLineNrOld = m_nlLineNr;
+ sal_uInt32 nlLinePosOld = m_nlLinePos;
bool bEOFOld = m_bEOF;
// parse the next identifier
@@ -525,8 +525,8 @@ CSS1Token CSS1Parser::GetNextToken()
// save current position
sal_Int32 nInPosSave = m_nInPos;
sal_Unicode cNextChSave = m_cNextCh;
- sal_uLong nlLineNrSave = m_nlLineNr;
- sal_uLong nlLinePosSave = m_nlLinePos;
+ sal_uInt32 nlLineNrSave = m_nlLineNr;
+ sal_uInt32 nlLinePosSave = m_nlLinePos;
bool bEOFSave = m_bEOF;
// first try to parse a hex digit