fix typo
Change-Id: Id58a9a5a40ea588671ea4ec86eedcf29c5a92b42
This commit is contained in:
@@ -456,7 +456,7 @@ bool ScTable::SetOptimalHeight(
|
|||||||
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
|
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
|
||||||
ScProgress* pOuterProgress, sal_uLong nProgressStart )
|
ScProgress* pOuterProgress, sal_uLong nProgressStart )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
|
OSL_ENSURE( rCxt.getExtraHeight() == 0 || rCxt.isForceAutoSize(),
|
||||||
"automatic OptimalHeight with Extra" );
|
"automatic OptimalHeight with Extra" );
|
||||||
|
|
||||||
if ( !pDocument->IsAdjustHeightEnabled() )
|
if ( !pDocument->IsAdjustHeightEnabled() )
|
||||||
@@ -486,7 +486,7 @@ void ScTable::SetOptimalHeightOnly(
|
|||||||
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
|
sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow,
|
||||||
ScProgress* pOuterProgress, sal_uLong nProgressStart )
|
ScProgress* pOuterProgress, sal_uLong nProgressStart )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( rCtx.getExtraHeight() == 0 || rCtx.isForceAutoSize(),
|
OSL_ENSURE( rCxt.getExtraHeight() == 0 || rCxt.isForceAutoSize(),
|
||||||
"automatic OptimalHeight with Extra" );
|
"automatic OptimalHeight with Extra" );
|
||||||
|
|
||||||
if ( !pDocument->IsAdjustHeightEnabled() )
|
if ( !pDocument->IsAdjustHeightEnabled() )
|
||||||
|
Reference in New Issue
Block a user