[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 24 13:20:42 UTC 2020


 fpicker/source/aqua/FilterHelper.hxx     |    2 +-
 fpicker/source/aqua/FilterHelper.mm      |    2 +-
 fpicker/source/aqua/SalAquaFilePicker.mm |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 7c0fcb016718b25981903ad2b979e186638a6031
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Nov 24 11:32:26 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Nov 24 14:20:04 2020 +0100

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

diff --git a/fpicker/source/aqua/FilterHelper.hxx b/fpicker/source/aqua/FilterHelper.hxx
index fdd025ef4e5a..1cd1ea1fbb50 100644
--- a/fpicker/source/aqua/FilterHelper.hxx
+++ b/fpicker/source/aqua/FilterHelper.hxx
@@ -95,7 +95,7 @@ public:
     //XFilterGroupManager delegates
     /// @throws css::lang::IllegalArgumentException
     /// @throws css::uno::RuntimeException
-    void appendFilterGroup( const OUString& sGroupTitle, const css::uno::Sequence< css::beans::StringPair >& aFilters );
+    void appendFilterGroup( const css::uno::Sequence< css::beans::StringPair >& aFilters );
 
 
     //accessor
diff --git a/fpicker/source/aqua/FilterHelper.mm b/fpicker/source/aqua/FilterHelper.mm
index 5db89a745f6f..b992785fa0a5 100644
--- a/fpicker/source/aqua/FilterHelper.mm
+++ b/fpicker/source/aqua/FilterHelper.mm
@@ -289,7 +289,7 @@ OUString FilterHelper::getCurrentFilter(  )
     return sReturn;
 }
 
-void FilterHelper::appendFilterGroup( const OUString& /* sGroupTitle */, const css::uno::Sequence< css::beans::StringPair >& aFilters )
+void FilterHelper::appendFilterGroup( const css::uno::Sequence< css::beans::StringPair >& aFilters )
 {
     SolarMutexGuard aGuard;
 
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm
index deff8783bbe9..9eca8c5c1a77 100644
--- a/fpicker/source/aqua/SalAquaFilePicker.mm
+++ b/fpicker/source/aqua/SalAquaFilePicker.mm
@@ -325,12 +325,12 @@ OUString SAL_CALL SalAquaFilePicker::getCurrentFilter()
 
 #pragma mark XFilterGroupManager
 
-void SAL_CALL SalAquaFilePicker::appendFilterGroup( const OUString& sGroupTitle, const uno::Sequence<beans::StringPair>& aFilters )
+void SAL_CALL SalAquaFilePicker::appendFilterGroup( const OUString&, const uno::Sequence<beans::StringPair>& aFilters )
 {
     SolarMutexGuard aGuard;
 
     ensureFilterHelper();
-    m_pFilterHelper->appendFilterGroup(sGroupTitle, aFilters);
+    m_pFilterHelper->appendFilterGroup(aFilters);
     m_pControlHelper->setFilterControlNeeded(true);
 }
 


More information about the Libreoffice-commits mailing list