Kaydet (Commit) 6d31302d authored tarafından Noel Grandin's avatar Noel Grandin

convert xub_StrLen->sal_Int32 in edtwin.cxx

Change-Id: Idbfeb4180cca90724eb1ce658629d58eed48bb5e
üst 6207a1c0
......@@ -852,7 +852,7 @@ void SwEditWin::FlushInBuffer()
SvtCTLOptions& rCTLOptions = SW_MOD()->GetCTLOptions();
xub_StrLen nExpandSelection = 0;
sal_Int32 nExpandSelection = 0;
if (nOldLen > 0)
{
sal_Int32 nTmpPos = nOldLen;
......@@ -885,7 +885,7 @@ void SwEditWin::FlushInBuffer()
if (nChgLen)
{
m_aInBuffer = aNewText.copy( nChgPos, nChgLen );
nExpandSelection = static_cast< xub_StrLen >(nOldLen - nChgPos);
nExpandSelection = nOldLen - nChgPos;
}
else
m_aInBuffer = "";
......
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