summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/DocumentRenderer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-09 13:55:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-10 11:28:16 +0000
commitb1164b07f9fdcd06a77dbdd74d45245a7c42c93e (patch)
tree3d07fe2ad37e2c7b931fb771da6dd2152657b3d4 /sd/source/ui/view/DocumentRenderer.cxx
parent1c6596af456e4cb98784a0728bcb936d3b1f9d0d (diff)
loplugin:constantparam in sd
Change-Id: I2bc989802c12b379a1ba4202f54ecfef1f339c8c Reviewed-on: https://gerrit.libreoffice.org/28774 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/view/DocumentRenderer.cxx')
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 886f21f6305a..4f9042aa83da 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -781,7 +781,6 @@ namespace {
TiledPrinterPage (
const sal_uInt16 nPageIndex,
const PageKind ePageKind,
- const sal_Int32 nGap,
const bool bPrintMarkedOnly,
const OUString& rsPageString,
const Point& rPageStringOffset,
@@ -791,7 +790,7 @@ namespace {
: PrinterPage(ePageKind, MapMode(), bPrintMarkedOnly, rsPageString,
rPageStringOffset, nDrawMode, eOrientation, nPaperTray),
mnPageIndex(nPageIndex),
- mnGap(nGap)
+ mnGap(500)
{
}
@@ -2135,7 +2134,6 @@ private:
new TiledPrinterPage(
sal::static_int_cast<sal_uInt16>(nPageIndex),
ePageKind,
- 500,
rInfo.mbPrintMarkedOnly,
rInfo.msPageString,
rInfo.mpPrinter->GetPageOffset(),