diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-07 17:16:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-08 08:08:35 +0200 |
commit | a209172669e7a2de6065486e385e4e3007b74bd2 (patch) | |
tree | 4a7e008cf700fb23ecc6e4cd44de1c6a08a9b7e7 /vcl/inc | |
parent | 2675cbf042130f24fe7ea299b85b8f5f4794a667 (diff) |
loplugin:constantparam
Change-Id: Ib92aba17c46a4ada75c2a0630f281759d995f32e
Reviewed-on: https://gerrit.libreoffice.org/40843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/headless/svpdummies.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/unx/gensys.h | 3 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkprn.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtksys.hxx | 3 | ||||
-rw-r--r-- | vcl/inc/unx/x11/x11sys.hxx | 3 |
5 files changed, 5 insertions, 9 deletions
diff --git a/vcl/inc/headless/svpdummies.hxx b/vcl/inc/headless/svpdummies.hxx index a14aabe2b447..ff304cc03579 100644 --- a/vcl/inc/headless/svpdummies.hxx +++ b/vcl/inc/headless/svpdummies.hxx @@ -59,8 +59,7 @@ public: virtual int ShowNativeDialog( const OUString& rTitle, const OUString& rMessage, - const std::list< OUString >& rButtons, - int nDefButton ) override; + const std::list< OUString >& rButtons ) override; }; #endif // INCLUDED_VCL_INC_HEADLESS_SVPDUMMIES_HXX diff --git a/vcl/inc/unx/gensys.h b/vcl/inc/unx/gensys.h index fabc6937b586..8f4f71af5757 100644 --- a/vcl/inc/unx/gensys.h +++ b/vcl/inc/unx/gensys.h @@ -35,8 +35,7 @@ class VCL_DLLPUBLIC SalGenericSystem : public SalSystem virtual ~SalGenericSystem() override; virtual int ShowNativeDialog( const OUString& rTitle, const OUString& rMessage, - const std::list< OUString >& rButtons, - int nDefButton ) = 0; + const std::list< OUString >& rButtons ) = 0; virtual int ShowNativeMessageBox( const OUString& rTitle, const OUString& rMessage) override; diff --git a/vcl/inc/unx/gtk/gtkprn.hxx b/vcl/inc/unx/gtk/gtkprn.hxx index 5ef0563592e1..d2fb5fab081d 100644 --- a/vcl/inc/unx/gtk/gtkprn.hxx +++ b/vcl/inc/unx/gtk/gtkprn.hxx @@ -34,7 +34,7 @@ private: bool impl_doJob( const OUString* i_pFileName, const OUString& i_rJobName, const OUString& i_rAppName, ImplJobSetup* io_pSetupData, - int i_nCopies, bool i_bCollate, vcl::PrinterController& io_rController); + bool i_bCollate, vcl::PrinterController& io_rController); private: std::unique_ptr<GtkSalPrinter_Impl> m_xImpl; diff --git a/vcl/inc/unx/gtk/gtksys.hxx b/vcl/inc/unx/gtk/gtksys.hxx index d888bce5bca3..94e748887a12 100644 --- a/vcl/inc/unx/gtk/gtksys.hxx +++ b/vcl/inc/unx/gtk/gtksys.hxx @@ -32,8 +32,7 @@ public: virtual tools::Rectangle GetDisplayScreenPosSizePixel (unsigned int nScreen) override; virtual int ShowNativeDialog (const OUString& rTitle, const OUString& rMessage, - const std::list< OUString >& rButtons, - int nDefButton) override; + const std::list< OUString >& rButtons) override; SalX11Screen GetDisplayDefaultXScreen() { return getXScreenFromDisplayScreen( GetDisplayBuiltInScreen() ); } int GetDisplayXScreenCount(); diff --git a/vcl/inc/unx/x11/x11sys.hxx b/vcl/inc/unx/x11/x11sys.hxx index bcb97f7714af..d99542164545 100644 --- a/vcl/inc/unx/x11/x11sys.hxx +++ b/vcl/inc/unx/x11/x11sys.hxx @@ -37,8 +37,7 @@ public: virtual tools::Rectangle GetDisplayScreenPosSizePixel( unsigned int nScreen ) override; virtual int ShowNativeDialog( const OUString& rTitle, const OUString& rMessage, - const std::list< OUString >& rButtons, - int nDefButton ) override; + const std::list< OUString >& rButtons ) override; }; #endif // INCLUDED_VCL_INC_UNX_X11_X11SYS_HXX |