diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-05-02 18:00:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-05-02 19:33:14 +0200 |
commit | 6549aa9afa7f39b45a0d402d83f4975f37bcc2fb (patch) | |
tree | 289b30fe2cef993a0b22af25cd4837dd69e8c357 /sw/source/core/text/txtfrm.cxx | |
parent | 211a63a780659b404541cae619d10f204a8bfe65 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/txtfrm.cxx')
-rw-r--r-- | sw/source/core/text/txtfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<sal_uLong>(aLine.GetLineNr()); + nNew = aLine.GetLineNr(); } else { |