diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:11:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 11:22:01 +0200 |
commit | 4a2d17c3a15117e91b8d158aa24d7f084596554b (patch) | |
tree | bd1337ef06f34100e58966ca14e742a7b4e654ca /sc/source/ui/unoobj/docuno.cxx | |
parent | f60c67c48621c9798020628bbccbec681a05a1c8 (diff) |
loplugin: defaultparams
Change-Id: Idd291659ca786b7bd2755c8faf98edc51314687b
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 059626c79bd2..693301db2acd 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -551,8 +551,8 @@ Size ScModelObj::getDocumentSize() return aSize; // convert to twips - aSize.setWidth(rDoc.GetColWidth(0, nEndCol, nTab, true)); - aSize.setHeight(rDoc.GetRowHeight(0, nEndRow, nTab, true)); + aSize.setWidth(rDoc.GetColWidth(0, nEndCol, nTab)); + aSize.setHeight(rDoc.GetRowHeight(0, nEndRow, nTab)); return aSize; } @@ -1544,7 +1544,7 @@ void SAL_CALL ScModelObj::render( sal_Int32 nSelRenderer, const uno::Any& aSelec { pDrawView = new FmFormView( pModel, pDev ); pDrawView->ShowSdrPage(pDrawView->GetModel()->GetPage(nTab)); - pDrawView->SetPrintPreview( true ); + pDrawView->SetPrintPreview(); } ScRange aRange; @@ -1940,7 +1940,7 @@ void SAL_CALL ScModelObj::consolidate( if (pDocShell) { const ScConsolidateParam& rParam = xImpl->GetParam(); - pDocShell->DoConsolidate( rParam, true ); + pDocShell->DoConsolidate( rParam ); pDocShell->GetDocument().SetConsolidateDlgData( &rParam ); } } |