diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 15:29:25 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-12 06:32:52 +0000 |
commit | 03fd8d24c2e4603731e796b24e51289736c65621 (patch) | |
tree | f88ec680e3339c6ae174cf4f85e6b4da9292cc92 /include/vcl/print.hxx | |
parent | 0a8abaadf322dca5628c6e62eb18b19394995c40 (diff) |
clang-tidy performance-unnecessary-value-param in vcl
Change-Id: I403f148060891feec56d7d2ef173a9c4934baf9e
Reviewed-on: https://gerrit.libreoffice.org/23995
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r-- | include/vcl/print.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 9133ed2f0b35..e92e13d60d82 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -381,13 +381,13 @@ public: static bool PreparePrintJob( std::shared_ptr<vcl::PrinterController> i_pController, const JobSetup& i_rInitSetup ); static bool ExecutePrintJob( std::shared_ptr<vcl::PrinterController> i_pController ); - static void FinishPrintJob( std::shared_ptr<vcl::PrinterController> i_pController ); + static void FinishPrintJob( const std::shared_ptr<vcl::PrinterController>& i_pController ); /** Implementation detail of PrintJob being asynchronous not exported, not usable outside vcl */ - static void SAL_DLLPRIVATE ImplPrintJob( std::shared_ptr<vcl::PrinterController> i_pController, + static void SAL_DLLPRIVATE ImplPrintJob( const std::shared_ptr<vcl::PrinterController>& i_pController, const JobSetup& i_rInitSetup ); }; |