diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-20 16:36:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-21 07:18:38 +0000 |
commit | 90d892664a6c49a8ae25a72ddccf54dba9d0e429 (patch) | |
tree | d9bb4a7307e349b88a4d528854abb44e4323f563 /fpicker | |
parent | ea6fdbaeeb51ad695f1c3754b796b7273eb4baad (diff) |
loplugin: unused return values
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7
Reviewed-on: https://gerrit.libreoffice.org/21628
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index a4d9dd3e4b9f..170bf409fc5c 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -78,10 +78,8 @@ public: bool hasSubFilters( ) const; /** retrieves the filters belonging to the entry - @return - the number of sub filters */ - sal_Int32 getSubFilters( UnoFilterList& _rSubFilterList ); + void getSubFilters( UnoFilterList& _rSubFilterList ); // helpers for iterating the sub filters const UnoFilterEntry* beginSubFilters() const { return m_aSubFilters.getConstArray(); } @@ -104,10 +102,9 @@ bool FilterEntry::hasSubFilters( ) const } -sal_Int32 FilterEntry::getSubFilters( UnoFilterList& _rSubFilterList ) +void FilterEntry::getSubFilters( UnoFilterList& _rSubFilterList ) { _rSubFilterList = m_aSubFilters; - return m_aSubFilters.getLength(); } struct ElementEntry_Impl |