diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 08:23:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 08:06:27 +0100 |
commit | ef77870b1c5ed4df88d4585064c968379f3955a7 (patch) | |
tree | a5bc602879740fd3785e1f13e9bc6a120e2cc2de /fpicker | |
parent | 989240664c33bc83800e27c1c0e718294321f46a (diff) |
loplugin:unusedfields
Change-Id: Ic1c0a2144f39373f93384bccbfc74356cac65ba0
Reviewed-on: https://gerrit.libreoffice.org/82185
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/PlacesListBox.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/PlacesListBox.hxx | 1 | ||||
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.hxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/autocmpledit.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/autocmpledit.hxx | 1 |
6 files changed, 0 insertions, 12 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx index da03c0f704fb..da3e304dce3e 100644 --- a/fpicker/source/office/PlacesListBox.cxx +++ b/fpicker/source/office/PlacesListBox.cxx @@ -24,7 +24,6 @@ PlacesListBox::PlacesListBox(std::unique_ptr<weld::TreeView> xControl, , mxDelBtn(std::move(xDel)) , mnNbEditables(0) , mbUpdated( false ) - , mbSelectionChanged( false ) { Size aSize(mxImpl->get_approximate_digit_width() * 18, mxImpl->get_height_rows(9)); @@ -103,7 +102,6 @@ IMPL_LINK_NOARG( PlacesListBox, Selection, weld::TreeView&, void ) sal_uInt32 nSelected = mxImpl->get_cursor_index(); PlacePtr pPlace = maPlaces[nSelected]; - mbSelectionChanged = true; if (pPlace->IsEditable()) mpDlg->RemovablePlaceSelected(); else diff --git a/fpicker/source/office/PlacesListBox.hxx b/fpicker/source/office/PlacesListBox.hxx index 151a0d1d4a01..70484cc495c4 100644 --- a/fpicker/source/office/PlacesListBox.hxx +++ b/fpicker/source/office/PlacesListBox.hxx @@ -33,7 +33,6 @@ private: std::unique_ptr<weld::Button> mxDelBtn; sal_Int32 mnNbEditables; bool mbUpdated; - bool mbSelectionChanged; public: PlacesListBox(std::unique_ptr<weld::TreeView> xTreeView, diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 02a3ef2bec2b..b0739b49e95c 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -30,8 +30,6 @@ RemoteFilesDialog::RemoteFilesDialog( weld::Window* pParent, PickerFlags nBits ) : SvtFileDialog_Base( pParent, "fps/ui/remotefilesdialog.ui", "RemoteFilesDialog" ) , m_xContext( comphelper::getProcessComponentContext() ) , m_xMasterPasswd( PasswordContainer::create( m_xContext ) ) - , m_nWidth( 0 ) - , m_nHeight( 0 ) , m_bIsInExecute( false ) , m_xCancel_btn(m_xBuilder->weld_button("cancel")) , m_xAddService_bar(m_xBuilder->weld_toolbar("add_service_bar")) @@ -245,8 +243,6 @@ void RemoteFilesDialog::InitSize() sal_Int32 nPos2{ sCfgStr.indexOf('|', nPos1+1 ) }; if (nPos2<0) return; - m_nWidth = sCfgStr.copy(0, nPos1++).toInt32(); - m_nHeight = sCfgStr.copy(nPos1, nPos2-nPos1).toInt32(); m_xFileView->SetConfigString( sCfgStr.copy(nPos2+1) ); } } diff --git a/fpicker/source/office/RemoteFilesDialog.hxx b/fpicker/source/office/RemoteFilesDialog.hxx index b22fb1fd55ac..9972c69d1afd 100644 --- a/fpicker/source/office/RemoteFilesDialog.hxx +++ b/fpicker/source/office/RemoteFilesDialog.hxx @@ -110,8 +110,6 @@ private: bool m_bServiceChanged; OUString m_sIniKey; - int m_nWidth; - int m_nHeight; bool m_bIsInExecute; diff --git a/fpicker/source/office/autocmpledit.cxx b/fpicker/source/office/autocmpledit.cxx index 57da4f4e5444..ab7887fff612 100644 --- a/fpicker/source/office/autocmpledit.cxx +++ b/fpicker/source/office/autocmpledit.cxx @@ -13,7 +13,6 @@ AutocompleteEdit::AutocompleteEdit(std::unique_ptr<weld::Entry> xEntry) : m_xEntry(std::move(xEntry)) - , m_nCurrent(0) { m_xEntry->connect_changed(LINK(this, AutocompleteEdit, ChangedHdl)); @@ -56,7 +55,6 @@ IMPL_LINK_NOARG(AutocompleteEdit, TryAutoComplete, Timer *, void) { if( Match( aCurText ) ) { - m_nCurrent = 0; m_xEntry->set_text(m_aMatching[0]); auto nNewLen = m_aMatching[0].getLength(); m_xEntry->select_region(nLen, nNewLen); diff --git a/fpicker/source/office/autocmpledit.hxx b/fpicker/source/office/autocmpledit.hxx index 03e05bf559a2..fc1108e383c2 100644 --- a/fpicker/source/office/autocmpledit.hxx +++ b/fpicker/source/office/autocmpledit.hxx @@ -21,7 +21,6 @@ private: std::vector< OUString > m_aEntries; std::vector< OUString > m_aMatching; - std::vector< OUString >::size_type m_nCurrent; Idle m_aChangedIdle; Link<weld::Entry&, void> m_aChangeHdl; |