diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-18 09:01:15 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-18 08:37:10 +0000 |
commit | aa6c54f337a616c9ca6a39cfc8708657018d8613 (patch) | |
tree | 8160f15358286e611441bafe736c95f1238f4b60 /vcl/unx | |
parent | 0533b155354f086aa8dc1de06c7db92d3f3be4f5 (diff) |
loplugin:unusedfields
Change-Id: I321b594f1190cdd997b4769161e1c02d31f46213
Reviewed-on: https://gerrit.libreoffice.org/21566
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/a11y/atkhypertext.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/a11y/atkwrapper.hxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.cxx | 5 | ||||
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkPicker.hxx | 4 |
6 files changed, 6 insertions, 13 deletions
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx index 25f41163cdc9..1b6529040798 100644 --- a/vcl/unx/gtk/a11y/atkhypertext.cxx +++ b/vcl/unx/gtk/a11y/atkhypertext.cxx @@ -26,8 +26,6 @@ using namespace ::com::sun::star; // ---------------------- AtkHyperlink ---------------------- typedef struct { - AtkHyperlink atk_hyper_link; - uno::Reference< accessibility::XAccessibleHyperlink > xLink; } HyperLink; diff --git a/vcl/unx/gtk/a11y/atkwrapper.hxx b/vcl/unx/gtk/a11y/atkwrapper.hxx index 4a023fa6e4b9..f0f818920405 100644 --- a/vcl/unx/gtk/a11y/atkwrapper.hxx +++ b/vcl/unx/gtk/a11y/atkwrapper.hxx @@ -45,8 +45,6 @@ namespace com { namespace sun { namespace star { namespace accessibility { struct _AtkObjectWrapper { - AtkObject aParent; - css::uno::Reference<css::accessibility::XAccessible> mpAccessible; css::uno::Reference<css::accessibility::XAccessibleContext> mpContext; css::uno::Reference<css::accessibility::XAccessibleAction> mpAction; diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx index 7221d92fe002..cee8543f4adb 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx @@ -925,7 +925,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std GtkWindow *pParent = RunDialog::GetTransientFor(); if (pParent) gtk_window_set_transient_for(GTK_WINDOW(m_pDialog), pParent); - RunDialog* pRunDialog = new RunDialog(m_pDialog, xToolkit, xDesktop); + RunDialog* pRunDialog = new RunDialog(m_pDialog, xToolkit); uno::Reference < awt::XTopWindowListener > xLifeCycle(pRunDialog); while( GTK_RESPONSE_NO == btn ) { @@ -1014,7 +1014,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std RTL_TEXTENCODING_UTF8 ).getStr() ); if (pParent) gtk_window_set_transient_for(GTK_WINDOW(dlg), pParent); - RunDialog* pAnotherDialog = new RunDialog(dlg, xToolkit, xDesktop); + RunDialog* pAnotherDialog = new RunDialog(dlg, xToolkit); uno::Reference < awt::XTopWindowListener > xAnotherLifeCycle(pAnotherDialog); btn = pAnotherDialog->run(); diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx index 49ab71d25388..4aebe6a57f1f 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx @@ -148,7 +148,7 @@ sal_Int16 SAL_CALL SalGtkFolderPicker::execute() throw( uno::RuntimeException, s GtkWindow *pParent = RunDialog::GetTransientFor(); if (pParent) gtk_window_set_transient_for(GTK_WINDOW(m_pDialog), pParent); - RunDialog* pRunDialog = new RunDialog(m_pDialog, xToolkit, xDesktop); + RunDialog* pRunDialog = new RunDialog(m_pDialog, xToolkit); uno::Reference < awt::XTopWindowListener > xLifeCycle(pRunDialog); gint nStatus = pRunDialog->run(); switch( nStatus ) diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx index 26b2740bb79f..c836b0c328d4 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.cxx @@ -120,10 +120,9 @@ GtkWindow* RunDialog::GetTransientFor() return pParent; } -RunDialog::RunDialog( GtkWidget *pDialog, uno::Reference< awt::XExtendedToolkit >& rToolkit, - uno::Reference< frame::XDesktop >& rDesktop ) : +RunDialog::RunDialog( GtkWidget *pDialog, uno::Reference< awt::XExtendedToolkit >& rToolkit ) : cppu::WeakComponentImplHelper< awt::XTopWindowListener, frame::XTerminateListener >( maLock ), - mpDialog(pDialog), mxToolkit(rToolkit), mxDesktop(rDesktop) + mpDialog(pDialog), mxToolkit(rToolkit) { } diff --git a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx index be74e669e979..1282c3746f40 100644 --- a/vcl/unx/gtk/fpicker/SalGtkPicker.hxx +++ b/vcl/unx/gtk/fpicker/SalGtkPicker.hxx @@ -80,7 +80,6 @@ private: osl::Mutex maLock; GtkWidget *mpDialog; css::uno::Reference< css::awt::XExtendedToolkit> mxToolkit; - css::uno::Reference< css::frame::XDesktop > mxDesktop; public: // XTopWindowListener @@ -109,8 +108,7 @@ public: throw(css::uno::RuntimeException, std::exception) override; public: RunDialog(GtkWidget *pDialog, - css::uno::Reference< css::awt::XExtendedToolkit > &rToolkit, - css::uno::Reference< css::frame::XDesktop > &rDesktop + css::uno::Reference< css::awt::XExtendedToolkit > &rToolkit ); virtual ~RunDialog(); gint run(); |