[Libreoffice-commits] core.git: vcl/inc vcl/osx

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 12:12:06 UTC 2020


 vcl/inc/osx/salprn.h |    1 -
 vcl/osx/salprn.cxx   |    5 ++---
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 9c1c43d4b94f75d97af319122312cbf7202f0cc6
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 24 11:02:34 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 24 13:11:28 2020 +0100

    Remove unused parameter (flagged now by loplugin:stringview)
    
    Change-Id: I78e2b60945f256de5e7455373a2ecff72f9eaae7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106484
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/vcl/inc/osx/salprn.h b/vcl/inc/osx/salprn.h
index abb787f5746e..7bfd41787e99 100644
--- a/vcl/inc/osx/salprn.h
+++ b/vcl/inc/osx/salprn.h
@@ -92,7 +92,6 @@ class AquaSalInfoPrinter : public SalInfoPrinter
     // implement pull model print system
     bool                        StartJob( const OUString* i_pFileName,
                                           const OUString& rJobName,
-                                          const OUString& i_rAppName,
                                           ImplJobSetup* i_pSetupData,
                                           vcl::PrinterController& i_rController );
     bool                        EndJob();
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index 0f2f38fa530a..6fd92fd4c5d6 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -351,7 +351,6 @@ static Size getPageSize( vcl::PrinterController const & i_rController, sal_Int32
 
 bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName,
                                    const OUString& i_rJobName,
-                                   const OUString& /*i_rAppName*/,
                                    ImplJobSetup* i_pSetupData,
                                    vcl::PrinterController& i_rController
                                    )
@@ -574,11 +573,11 @@ AquaSalPrinter::~AquaSalPrinter()
 
 bool AquaSalPrinter::StartJob( const OUString* i_pFileName,
                                const OUString& i_rJobName,
-                               const OUString& i_rAppName,
+                               const OUString&,
                                ImplJobSetup* i_pSetupData,
                                vcl::PrinterController& i_rController )
 {
-    return mpInfoPrinter->StartJob( i_pFileName, i_rJobName, i_rAppName, i_pSetupData, i_rController );
+    return mpInfoPrinter->StartJob( i_pFileName, i_rJobName, i_pSetupData, i_rController );
 }
 
 bool AquaSalPrinter::StartJob( const OUString* /*i_pFileName*/,


More information about the Libreoffice-commits mailing list