summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-02 11:27:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-02 11:27:29 +0000
commitf1c649a9ce922d9a5ab829e3bdd2d88d719ae9a0 (patch)
treeee7e86a03870b8b24ec933a5c111fcf903056069 /sc
parentacee46facef9f3eb3406159d6eb03e72a8f41ab0 (diff)
fix typo
Change-Id: Id58a9a5a40ea588671ea4ec86eedcf29c5a92b42
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 1aff4ab51d86..5291ad222cfa 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -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() )