diff options
author | Noel Power <noel.power@novell.com> | 2012-06-08 11:05:57 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2012-06-11 12:02:41 +0200 |
commit | d712d16d9adf9a711ce78e5ead8c55f7bf3ee1a6 (patch) | |
tree | 9470010723096b2ecb41fcd85f81934f175b32df /sc | |
parent | 3967331f9f61639ee78ceb9793377e615fc3afcd (diff) |
better import xlsx heights
don't call UpdateAllRowHeights when IsAdjustHeightEnabled property is set an
d additionally set manual heights for *all* imported row heights ( same afaics x
ls import does ) - certainly this improves import ( also see documents attached
in i#94028, i#93609 )
Change-Id: I19d46753cf692bc9768512a2267e03a7a75a0f6e
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index b9be4933ce9f..125f4a9725e2 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1689,11 +1689,7 @@ void SAL_CALL ScModelObj::setPropertyValue( bool bOldAdjustHeightEnabled = pDoc->IsAdjustHeightEnabled(); bool bAdjustHeightEnabled = ScUnoHelpFunctions::GetBoolFromAny( aValue ); if( bOldAdjustHeightEnabled != bAdjustHeightEnabled ) - { pDoc->EnableAdjustHeight( bAdjustHeightEnabled ); - if( bAdjustHeightEnabled ) - pDocShell->UpdateAllRowHeights(); - } } else if ( aString.EqualsAscii( SC_UNO_ISEXECUTELINKENABLED ) ) { |