Kaydet (Commit) 9e88fca7 authored tarafından Matteo Casalin's avatar Matteo Casalin

Avoid temporary for return value

Change-Id: I247bb974c6c6c17e26153c611b12964d4f1befa9
üst 3bcd82a7
......@@ -219,15 +219,14 @@ long SwBidiPortion::CalcSpacing( long nSpaceAdd, const SwTxtSizeInfo& rInf ) con
bool SwBidiPortion::ChgSpaceAdd( SwLineLayout* pCurr, long nSpaceAdd ) const
{
bool bRet = false;
if( !HasTabulator() && nSpaceAdd > 0 && !pCurr->IsSpaceAdd() )
{
pCurr->CreateSpaceAdd();
pCurr->SetLLSpaceAdd( nSpaceAdd, 0 );
bRet = true;
return true;
}
return bRet;
return false;
}
sal_Int32 SwBidiPortion::GetSpaceCnt( const SwTxtSizeInfo &rInf ) const
......
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