From 6bbda13286c8f736f35ceb7a377ca15b3fd544b2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Jun 2017 12:03:24 +0200 Subject: loplugin:unusedfields in forms..idlc Change-Id: If250ff47c1f375fe24c61b5bf271da9a9c330822 Reviewed-on: https://gerrit.libreoffice.org/39133 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- fpicker/source/office/RemoteFilesDialog.cxx | 4 +--- fpicker/source/office/RemoteFilesDialog.hxx | 1 - fpicker/source/office/iodlg.cxx | 2 -- fpicker/source/office/iodlgimp.cxx | 1 - fpicker/source/office/iodlgimp.hxx | 4 ---- 5 files changed, 1 insertion(+), 11 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index c03d420ff00c..1607d3f4aea1 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -177,7 +177,6 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, PickerFlags nBits ) , m_nWidth( 0 ) , m_nHeight( 0 ) , m_pCurrentAsyncAction( nullptr ) - , m_pFileNotifier( nullptr ) , m_pSplitter( nullptr ) , m_pFileView( nullptr ) , m_pContainer( nullptr ) @@ -1311,9 +1310,8 @@ void RemoteFilesDialog::FilterSelect() { } -void RemoteFilesDialog::SetFileCallback( ::svt::IFilePickerListener *pNotifier ) +void RemoteFilesDialog::SetFileCallback( ::svt::IFilePickerListener * ) { - m_pFileNotifier = pNotifier; } void RemoteFilesDialog::onAsyncOperationStarted() diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx index 08907f95ce29..36dbe624ccb1 100644 --- a/fpicker/source/office/RemoteFilesDialog.hxx +++ b/fpicker/source/office/RemoteFilesDialog.hxx @@ -146,7 +146,6 @@ private: ::rtl::Reference< ::svt::AsyncPickerAction > m_pCurrentAsyncAction; css::uno::Sequence< OUString > m_aBlackList; - ::svt::IFilePickerListener* m_pFileNotifier; VclPtr< PushButton > m_pOk_btn; VclPtr< CancelButton > m_pCancel_btn; diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 21195cda7b8f..8f69f135baca 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1923,8 +1923,6 @@ short SvtFileDialog::PrepareExecute() pImpl->SelectFilterListEntry( aAll ); } - pImpl->_pDefaultFilter = pImpl->GetCurFilter(); - // if applicable isolate filter OUString aFilter; diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index 6dd1d396e7ab..e45764e7782e 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -232,7 +232,6 @@ SvtExpFileDlg_Impl::SvtExpFileDlg_Impl() : _nStyle ( PickerFlags::NONE ), _bDoubleClick ( false ), m_bNeedDelayedFilterExecute ( false ), - _pDefaultFilter ( nullptr ), _bMultiSelection ( false ) { } diff --git a/fpicker/source/office/iodlgimp.hxx b/fpicker/source/office/iodlgimp.hxx index e948c8885c15..521871d2473f 100644 --- a/fpicker/source/office/iodlgimp.hxx +++ b/fpicker/source/office/iodlgimp.hxx @@ -165,10 +165,6 @@ public: bool _bDoubleClick; bool m_bNeedDelayedFilterExecute; - // list of the 5 most recently used filters - // Defaultfilter for or - const SvtFileDialogFilter_Impl* _pDefaultFilter; - // MultiSelection? bool _bMultiSelection; -- cgit v1.2.3