From cd383000f84b8b75ffe15d1cd1bb8d5a14a71685 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 22 Feb 2019 15:54:49 +0200 Subject: loplugin:unusedfields in forms..fpicker Change-Id: Ifd3afbf276100e3cef802bbcc0792b43a9cd84f8 Reviewed-on: https://gerrit.libreoffice.org/68228 Tested-by: Jenkins Reviewed-by: Noel Grandin --- fpicker/source/office/OfficeFolderPicker.cxx | 3 +-- fpicker/source/office/OfficeFolderPicker.hxx | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'fpicker/source') diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx index b95f0f972980..2c049ed605f0 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -141,9 +141,8 @@ OUString SAL_CALL SvtFolderPicker::getDirectory() return OUString(); } -void SAL_CALL SvtFolderPicker::setDescription( const OUString& aDescription ) +void SAL_CALL SvtFolderPicker::setDescription( const OUString& ) { - m_aDescription = aDescription; } void SvtFolderPicker::cancel() diff --git a/fpicker/source/office/OfficeFolderPicker.hxx b/fpicker/source/office/OfficeFolderPicker.hxx index 7a44881c05f8..790dff6e9048 100644 --- a/fpicker/source/office/OfficeFolderPicker.hxx +++ b/fpicker/source/office/OfficeFolderPicker.hxx @@ -40,8 +40,6 @@ typedef class SvtFolderPicker: public SvtFolderPicker_Base { private: - OUString m_aDescription; - css::uno::Reference< css::ui::dialogs::XDialogClosedListener > m_xListener; @@ -55,7 +53,6 @@ public: // XFolderPicker2 functions - virtual void SAL_CALL setDisplayDirectory( const OUString& aDirectory ) override; virtual OUString SAL_CALL getDisplayDirectory() override; virtual OUString SAL_CALL getDirectory() override; -- cgit