diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 14:10:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 16:34:24 +0200 |
commit | 6055814a98a764117cd95adf2bbab91fa34456c2 (patch) | |
tree | 64776f131f5ae8dd2fd7078f964dbf3f78e40d5b /sc/source/ui/app/scmod.cxx | |
parent | c7b97f2e4b8f47107bc91ded0295dcfffd0c71b6 (diff) |
sc: rowcol: tdf#50916 convert app
Change-Id: I1b93d831fff69db26f3078bf21915ebe285e89f8
Reviewed-on: https://gerrit.libreoffice.org/81382
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 5e58bc2c3404..739d13322051 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -249,7 +249,7 @@ void ScModule::ConfigurationChanged( utl::ConfigurationBroadcaster* p, Configura SCTAB nTabCount = pDocSh->GetDocument().GetTableCount(); for (SCTAB nTab=0; nTab<nTabCount; nTab++) - pDocSh->AdjustRowHeight( 0, MAXROW, nTab ); + pDocSh->AdjustRowHeight( 0, pDocSh->GetDocument().MaxRow(), nTab ); } pObjSh = SfxObjectShell::GetNext( *pObjSh ); } @@ -1270,7 +1270,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) pOneDocSh->CalcOutputFactor(); SCTAB nTabCount = pOneDocSh->GetDocument().GetTableCount(); for (SCTAB nTab=0; nTab<nTabCount; nTab++) - pOneDocSh->AdjustRowHeight( 0, MAXROW, nTab ); + pOneDocSh->AdjustRowHeight( 0, pDocSh->GetDocument().MaxRow(), nTab ); } pObjSh = SfxObjectShell::GetNext( *pObjSh ); } |