Kaydet (Commit) acee46fa authored tarafından Caolán McNamara's avatar Caolán McNamara

fix dbgutil build (probably)

Change-Id: Ic60f00d6b9aa450bb749e8ef8d680c4b9abbaa4a
üst e1ce4f05
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment