svx/source/table/svdotable.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 952b968042e51ff3245a81cb6b970863a92fab5f Author: Julien Nabet <[email protected]> Date: Sat Nov 15 17:48:20 2014 +0100 cppcheck: Same expression on both sides of '||' Change-Id: I89c758366c2140f0033c1006f6a03bbc17ea8096 Reviewed-on: https://gerrit.libreoffice.org/12459 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index ce05325..d9739ad 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -693,7 +693,7 @@ void SdrTableObjImpl::LayoutTable( Rectangle& rArea, bool bFitWidth, bool bFitHe // Optimization: SdrTableObj::SetChanged() can call this very often, repeatedly // with the same settings, noticeably increasing load time. Skip if already done. bool bInteractiveMightGrowBecauseTextChanged = - mpTableObj->IsReallyEdited() && (mpTableObj->IsAutoGrowHeight() || mpTableObj->IsAutoGrowHeight()); + mpTableObj->IsReallyEdited() && (mpTableObj->IsAutoGrowHeight() || mpTableObj->IsAutoGrowWidth()); WritingMode writingMode = mpTableObj->GetWritingMode(); if( bInteractiveMightGrowBecauseTextChanged || lastLayoutTable != this || lastLayoutInputRectangle != rArea
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
