summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-02 10:48:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-02 10:48:36 +0000
commitacee46facef9f3eb3406159d6eb03e72a8f41ab0 (patch)
treec2711616b86464a2a409768db139e0f3971fbeaa
parente1ce4f050a164480917dd69b2008bcc5c4259b15 (diff)
fix dbgutil build (probably)
Change-Id: Ic60f00d6b9aa450bb749e8ef8d680c4b9abbaa4a
-rw-r--r--sc/source/core/data/table1.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 6d60bded6f4a..1aff4ab51d86 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -456,7 +456,8 @@ bool ScTable::SetOptimalHeight(
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
ScProgress* pOuterProgress, sal_uLong nProgressStart )
{
- OSL_ENSURE( nExtra==0 || bForce, "automatic OptimalHeight with Extra" );
+ OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
+ "automatic OptimalHeight with Extra" );
if ( !pDocument->IsAdjustHeightEnabled() )
{
@@ -485,7 +486,8 @@ void ScTable::SetOptimalHeightOnly(
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
ScProgress* pOuterProgress, sal_uLong nProgressStart )
{
- OSL_ENSURE( nExtra==0 || bForce, "automatic OptimalHeight with Extra" );
+ OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
+ "automatic OptimalHeight with Extra" );
if ( !pDocument->IsAdjustHeightEnabled() )
return;