From f4e703aa39e9c294441b6dd86189d8aff32db8bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Dec 2015 13:44:24 +0200 Subject: loplugin:unusedfields in sfx2,slideshow,starmath,stoc Change-Id: If3622b23c45dd3a2a4e9869452142d1f6b47919e --- sfx2/source/appl/newhelp.hxx | 2 -- sfx2/source/dialog/backingwindow.cxx | 1 - sfx2/source/dialog/backingwindow.hxx | 1 - sfx2/source/dialog/styfitem.cxx | 8 -------- sfx2/source/doc/iframe.cxx | 2 -- sfx2/source/doc/sfxbasemodel.cxx | 1 - sfx2/source/view/viewimp.hxx | 1 - 7 files changed, 16 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index a6dcb73e5c18..464e2b36ee43 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -493,8 +493,6 @@ friend class SfxHelpIndexWindow_Impl; css::uno::Reference < css::awt::XWindow > xWindow; - css::uno::Reference < css::frame::XDispatchResultListener > - xOpenListener; css::uno::Reference < css::frame::XFrame2 > xFrame; diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 32e88518035f..69b11e7427b5 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -90,7 +90,6 @@ static bool cmpSelectionItems (const ThumbnailViewItem *pItem1, const ThumbnailV BackingWindow::BackingWindow( vcl::Window* i_pParent ) : Window( i_pParent ), - mxDesktop( Desktop::create(comphelper::getProcessComponentContext()) ), mbLocalViewInitialized(false), maButtonsTextColor(officecfg::Office::Common::Help::StartCenter::StartCenterTextColor::get()), mbIsSaveMode( false ), diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 90b385b5dcfb..4d36dc3ec894 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -55,7 +55,6 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer css::uno::Reference mxContext; css::uno::Reference mxDesktopDispatchProvider; css::uno::Reference mxFrame; - css::uno::Reference mxDesktop; /** helper for drag&drop. */ css::uno::Reference mxDropTargetListener; diff --git a/sfx2/source/dialog/styfitem.cxx b/sfx2/source/dialog/styfitem.cxx index d98a47422361..0a8b7480f336 100644 --- a/sfx2/source/dialog/styfitem.cxx +++ b/sfx2/source/dialog/styfitem.cxx @@ -23,14 +23,6 @@ -class SfxStyleFamilyItem_Impl -{ - Bitmap aBitmap; - Image aImage; -}; - - - // Implementierung des Resource-Konstruktors SfxStyleFamilyItem::SfxStyleFamilyItem( const ResId &rResId ) : diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx index c42b9782afeb..45bd62203e09 100644 --- a/sfx2/source/doc/iframe.cxx +++ b/sfx2/source/doc/iframe.cxx @@ -106,8 +106,6 @@ public: class IFrameWindow_Impl : public vcl::Window { - uno::Reference < frame::XFrame2 > mxFrame; - public: IFrameWindow_Impl( vcl::Window *pParent, bool bHasBorder, diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 56ae242f1d50..e78f955f62f5 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -207,7 +207,6 @@ struct IMPL_SfxBaseModel_DataContainer : public ::sfx2::IModifiableDocument bool m_bExternalTitle ; bool m_bModifiedSinceLastSave ; Reference< view::XPrintable> m_xPrintable ; - Reference< script::provider::XScriptProvider > m_xScriptProvider ; Reference< ui::XUIConfigurationManager2 > m_xUIConfigurationManager; ::rtl::Reference< ::sfx2::DocumentStorageModifyListener > m_pStorageModifyListen ; OUString m_sModuleIdentifier ; diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index 74e70b1721ee..5780232586f1 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -45,7 +45,6 @@ struct SfxViewShell_Impl ::cppu::OInterfaceContainerHelper aInterceptorContainer; bool m_bControllerSet; SfxShellArr_Impl aArr; - SvBorder aBorder; Size aMargin; sal_uInt16 m_nPrinterLocks; bool m_bCanPrint; -- cgit