diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-03 10:37:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-03 11:34:50 +0200 |
commit | 6d31302d272ac5bc5ad5749cc703c3ddc610957c (patch) | |
tree | 6b3359ab1e99fe5a1dd55aa7946540b41507a11d /sw | |
parent | 6207a1c02c42f7f942d6cabc256a945043ca4f30 (diff) |
convert xub_StrLen->sal_Int32 in edtwin.cxx
Change-Id: Idbfeb4180cca90724eb1ce658629d58eed48bb5e
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 00926b199e4f..4b82c160a246 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -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 = ""; |