Kaydet (Commit) 8a4c4520 authored tarafından Matteo Casalin's avatar Matteo Casalin

xub_StrLen to sal_Int32

Change-Id: Id00f298c638b14b0e78b898373978f94b43804d9
üst ea0d3041
...@@ -101,7 +101,7 @@ struct Sw2LinesPos ...@@ -101,7 +101,7 @@ struct Sw2LinesPos
struct SwSpecialPos struct SwSpecialPos
{ {
xub_StrLen nCharOfst; sal_Int32 nCharOfst;
sal_uInt16 nLineOfst; sal_uInt16 nLineOfst;
sal_uInt8 nExtendRange; sal_uInt8 nExtendRange;
......
...@@ -666,7 +666,7 @@ sal_uInt16 SwAccessiblePortionData::FillSpecialPos( ...@@ -666,7 +666,7 @@ sal_uInt16 SwAccessiblePortionData::FillSpecialPos(
nRefPos = aLineBreaks[ nMyLine ]; nRefPos = aLineBreaks[ nMyLine ];
// fill char offset and 'special position' // fill char offset and 'special position'
rPos.nCharOfst = static_cast<sal_uInt16>( nPos - nRefPos ); rPos.nCharOfst = nPos - nRefPos;
rPos.nExtendRange = nExtend; rPos.nExtendRange = nExtend;
rPos.nLineOfst = nLineOffset; rPos.nLineOfst = nLineOffset;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment