[Libreoffice-commits] core.git: svx/source
Julien Nabet
serval2412 at yahoo.fr
Mon Nov 17 01:21:38 PST 2014
svx/source/table/svdotable.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 952b968042e51ff3245a81cb6b970863a92fab5f
Author: Julien Nabet <serval2412 at yahoo.fr>
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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list