[Libreoffice-commits] core.git: sc/source

Caolán McNamara caolanm at redhat.com
Sun Feb 2 03:29:28 PST 2014


 sc/source/core/data/table1.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f1c649a9ce922d9a5ab829e3bdd2d88d719ae9a0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Feb 2 11:27:29 2014 +0000

    fix typo
    
    Change-Id: Id58a9a5a40ea588671ea4ec86eedcf29c5a92b42

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 1aff4ab..5291ad2 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() )


More information about the Libreoffice-commits mailing list