From db93b92d78714ed193b3cbe52b18e3cfd9da99b8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Mar 2016 11:21:56 +0200 Subject: loplugin:constantparam in sfx2 Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd Reviewed-on: https://gerrit.libreoffice.org/23321 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basctl/source/basicide/basides2.cxx | 2 +- basctl/source/inc/basidesh.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 7e1402f17ec0..98c0dfb41a92 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -86,7 +86,7 @@ SfxPrinter* Shell::GetPrinter( bool bCreate ) return nullptr; } -sal_uInt16 Shell::SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags , bool ) +sal_uInt16 Shell::SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags ) { DocShell* pDocShell = static_cast(GetViewFrame()->GetObjectShell()); assert(pDocShell && "DocShell ?!"); diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index 6bf5f66e1827..46b0b4017085 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -170,7 +170,7 @@ public: // virtual sal_uInt16 Print( SfxProgress &rProgress, sal_Bool bIsAPI, PrintDialog *pPrintDialog = 0 ); virtual SfxPrinter* GetPrinter( bool bCreate ) override; - virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ) override; + virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL ) override; virtual OUString GetSelectionText( bool bCompleteWords ) override; virtual bool HasSelection( bool bText ) const override; -- cgit