coverity#704352 Logically dead code

Change-Id: I97cc143071951bc24b8b0f9c6780e40a3b2bdc61
This commit is contained in:
Caolán McNamara
2014-03-31 10:58:02 +01:00
parent 2a88ab6642
commit 4df99bdc5b

View File

@@ -4255,22 +4255,7 @@ bool SwTable::SetRowHeight( SwTableBox& rAktBox, sal_uInt16 eType,
{ {
// First test if we have room at all // First test if we have room at all
if( bBigger ) if( bBigger )
{
bRet = true; bRet = true;
// What's up with Top, Table in a Frame or Header/Footer with fixed width??
if( !bRet )
{
// Then call itself recursively; only with another mode (proportional)
TblChgMode eOld = eTblChgMode;
eTblChgMode = TBLFIX_CHGPROP;
bRet = SetRowHeight( rAktBox, eType, nAbsDiff,
nRelDiff, ppUndo );
eTblChgMode = eOld;
return bRet;
}
}
else else
bRet = (*fnSelLine)( (*pLines)[ nBaseLinePos ], aParam, bRet = (*fnSelLine)( (*pLines)[ nBaseLinePos ], aParam,
nAbsDiff, true ); nAbsDiff, true );