diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-17 11:21:56 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-17 11:02:18 +0000 |
commit | db93b92d78714ed193b3cbe52b18e3cfd9da99b8 (patch) | |
tree | 1442edf9552192ce29b3e271396291e2bbd269a0 /basctl | |
parent | 336d816176650726f6d14539464d9fd28ddd032d (diff) |
loplugin:constantparam in sfx2
Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd
Reviewed-on: https://gerrit.libreoffice.org/23321
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
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<DocShell*>(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; |