summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-17 11:21:56 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-17 11:02:18 +0000
commitdb93b92d78714ed193b3cbe52b18e3cfd9da99b8 (patch)
tree1442edf9552192ce29b3e271396291e2bbd269a0 /starmath
parent336d816176650726f6d14539464d9fd28ddd032d (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 'starmath')
-rw-r--r--starmath/inc/view.hxx2
-rw-r--r--starmath/source/view.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 672c090d3fdd..37344be8fae4 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -266,7 +266,7 @@ protected:
virtual SfxPrinter *GetPrinter(bool bCreate = false) override;
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
- SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false) override;
+ SfxPrinterChangeFlags nDiffFlags = SFX_PRINTER_ALL) override;
void Insert( SfxMedium& rMedium );
void InsertFrom(SfxMedium &rMedium);
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 9a3bea7da9d0..39cad51bd1c0 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1277,7 +1277,7 @@ SfxPrinter* SmViewShell::GetPrinter(bool bCreate)
return nullptr;
}
-sal_uInt16 SmViewShell::SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags, bool )
+sal_uInt16 SmViewShell::SetPrinter(SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags )
{
SfxPrinter *pOld = GetDoc()->GetPrinter();
if ( pOld && pOld->IsPrinting() )