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/headless/headlessinst.cxx | |
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/headless/headlessinst.cxx')
-rw-r--r-- | vcl/headless/headlessinst.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/headless/headlessinst.cxx b/vcl/headless/headlessinst.cxx index d783cbade58d..e6f5cf03f5b3 100644 --- a/vcl/headless/headlessinst.cxx +++ b/vcl/headless/headlessinst.cxx @@ -28,10 +28,9 @@ public: HeadlessSalSystem() : SvpSalSystem() {} virtual int ShowNativeDialog( const OUString& rTitle, const OUString& rMessage, - const std::list< OUString >& rButtons, - int nDefButton ) override + const std::list< OUString >& rButtons ) override { - (void)rButtons; (void)nDefButton; + (void)rButtons; ::fprintf(stdout, "LibreOffice - dialog '%s': '%s'", OUStringToOString(rTitle, RTL_TEXTENCODING_ASCII_US).getStr(), OUStringToOString(rMessage, RTL_TEXTENCODING_ASCII_US).getStr()); |