From 6549aa9afa7f39b45a0d402d83f4975f37bcc2fb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 2 May 2021 18:00:32 +0200 Subject: sal_uLong->sal_uInt32 in SvParser Change-Id: Ibe5599e1cc136330a8e9c089c7cc66d0ef4bc966 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115002 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/text/txtfrm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/core/text/txtfrm.cxx') diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 6a63cc26500b..acd1b1b4f5be 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -3756,7 +3756,7 @@ sal_uInt16 SwTextFrame::GetLineCount(TextFrameIndex const nPos) void SwTextFrame::ChgThisLines() { // not necessary to format here (GetFormatted etc.), because we have to come from there! - sal_uLong nNew = 0; + sal_uInt32 nNew = 0; const SwLineNumberInfo &rInf = GetDoc().GetLineNumberInfo(); if ( !GetText().isEmpty() && HasPara() ) { @@ -3765,7 +3765,7 @@ void SwTextFrame::ChgThisLines() if ( rInf.IsCountBlankLines() ) { aLine.Bottom(); - nNew = static_cast(aLine.GetLineNr()); + nNew = aLine.GetLineNr(); } else { -- cgit v1.2.3