Kaydet (Commit) 70027717 authored tarafından Bjoern Michaelsen's avatar Bjoern Michaelsen

dead assign (clang)

Change-Id: Ic1e7578e85e52df68f1b9e1e8c7835614518b165
üst 2d990b4c
......@@ -1269,13 +1269,8 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
if( rReformat.Len() > nStrLen )
rReformat.Len() = nStrLen;
// Optimized:
sal_Int32 nEnd = rReformat.Start() + rReformat.Len();
if( nEnd > nStrLen )
{
if( rReformat.Start() + rReformat.Len() > nStrLen )
rReformat.Len() = nStrLen - rReformat.Start();
nEnd = nStrLen;
}
SwTwips nOldBottom;
if( GetOfst() && !IsFollow() )
......
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