Change-Id: Id58a9a5a40ea588671ea4ec86eedcf29c5a92b42
This commit is contained in:
Caolán McNamara
2014-02-02 11:27:29 +00:00
parent acee46face
commit f1c649a9ce

View File

@@ -456,7 +456,7 @@ bool ScTable::SetOptimalHeight(
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
ScProgress* pOuterProgress, sal_uLong nProgressStart )
{
OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
OSL_ENSURE( rCxt.getExtraHeight() == 0 || rCxt.isForceAutoSize(),
"automatic OptimalHeight with Extra" );
if ( !pDocument->IsAdjustHeightEnabled() )
@@ -486,7 +486,7 @@ void ScTable::SetOptimalHeightOnly(
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
ScProgress* pOuterProgress, sal_uLong nProgressStart )
{
OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
OSL_ENSURE( rCxt.getExtraHeight() == 0 || rCxt.isForceAutoSize(),
"automatic OptimalHeight with Extra" );
if ( !pDocument->IsAdjustHeightEnabled() )