From 95ceaa5c5572690e220cfac80fbaff8eb68dd940 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 May 2017 09:15:20 +0200 Subject: loplugin:checkunusedparams in sc(part2) Change-Id: I1d54d16dbe5648a21baa9bf96444e60fcd034c81 Reviewed-on: https://gerrit.libreoffice.org/37457 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/view/printfun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/view/printfun.cxx') diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 6c99a32a6605..a4edfae9770d 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -691,7 +691,7 @@ bool ScPrintFunc::AdjustPrintArea( bool bNew ) if ( bChangeCol && bChangeRow ) bFound = pDoc->GetPrintArea( nPrintTab, nEndCol, nEndRow, bNotes ); else if ( bChangeCol ) - bFound = pDoc->GetPrintAreaHor( nPrintTab, nStartRow, nEndRow, nEndCol, bNotes ); + bFound = pDoc->GetPrintAreaHor( nPrintTab, nStartRow, nEndRow, nEndCol ); else if ( bChangeRow ) bFound = pDoc->GetPrintAreaVer( nPrintTab, nStartCol, nEndCol, nEndRow, bNotes ); -- cgit