diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-22 15:34:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-23 08:13:53 +0200 |
commit | 278f58c68b31faedb800a72aa0b44a7332f04a61 (patch) | |
tree | f41aae27d43f531cd7fc8f56560ddad7a5523502 /framework | |
parent | 1dbe54fd2e0c776c1f11c20bdb029fab14fc61ad (diff) |
loplugin:unusedfields in framework
Change-Id: Ic6cfbe9f0c7589804b7ffddac0350c188d974c3d
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/services/mediatypedetectionhelper.hxx | 7 | ||||
-rw-r--r-- | framework/inc/services/uriabbreviation.hxx | 2 | ||||
-rw-r--r-- | framework/inc/uielement/commandinfo.hxx | 6 | ||||
-rw-r--r-- | framework/inc/uielement/macrosmenucontroller.hxx | 6 | ||||
-rw-r--r-- | framework/inc/uielement/toolbarmanager.hxx | 1 | ||||
-rw-r--r-- | framework/source/services/mediatypedetectionhelper.cxx | 3 | ||||
-rw-r--r-- | framework/source/services/uriabbreviation.cxx | 3 |
7 files changed, 3 insertions, 25 deletions
diff --git a/framework/inc/services/mediatypedetectionhelper.hxx b/framework/inc/services/mediatypedetectionhelper.hxx index bff67bd35217..e19923a84184 100644 --- a/framework/inc/services/mediatypedetectionhelper.hxx +++ b/framework/inc/services/mediatypedetectionhelper.hxx @@ -79,13 +79,6 @@ class MediaTypeDetectionHelper : public ::cppu::WeakImplHelper< css::util::XS virtual sal_Bool SAL_CALL mapStrings(css::uno::Sequence< OUString >& seqParameter) throw (css::uno::RuntimeException, std::exception) override; - // variables - // should be private every time - - private: - - css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; /// reference to global servicemanager - }; } // namespace framework diff --git a/framework/inc/services/uriabbreviation.hxx b/framework/inc/services/uriabbreviation.hxx index 999728c95a2d..79b38831c0af 100644 --- a/framework/inc/services/uriabbreviation.hxx +++ b/framework/inc/services/uriabbreviation.hxx @@ -49,8 +49,6 @@ private: void operator =(UriAbbreviation &) = delete; virtual ~UriAbbreviation() {} - - css::uno::Reference< css::uno::XComponentContext > m_xContext; }; } // namespace framework diff --git a/framework/inc/uielement/commandinfo.hxx b/framework/inc/uielement/commandinfo.hxx index 565478b1de42..a6db494b86ff 100644 --- a/framework/inc/uielement/commandinfo.hxx +++ b/framework/inc/uielement/commandinfo.hxx @@ -28,15 +28,11 @@ namespace framework struct CommandInfo { CommandInfo() : nId( 0 ), - nImageInfo( 0 ), - bMirrored( false ), - bRotated( false ) {} + nImageInfo( 0 ) {} sal_uInt16 nId; ::std::vector< sal_uInt16 > aIds; sal_Int16 nImageInfo; - bool bMirrored : 1, - bRotated : 1; }; typedef BaseHash< CommandInfo > CommandToInfoMap; diff --git a/framework/inc/uielement/macrosmenucontroller.hxx b/framework/inc/uielement/macrosmenucontroller.hxx index 2bec201ff394..79fddf0394a1 100644 --- a/framework/inc/uielement/macrosmenucontroller.hxx +++ b/framework/inc/uielement/macrosmenucontroller.hxx @@ -44,13 +44,7 @@ namespace framework { using svt::PopupMenuControllerBase::disposing; - struct ExecuteInfo - { - css::uno::Reference< css::frame::XDispatch > xDispatch; - }; css::uno::Reference< css::uno::XComponentContext > m_xContext; - css::uno::Reference< css::frame::XDispatchProvider > m_xDispatchProvider; - css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels; public: MacrosMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ); diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx index f99c3851a21e..90f66edb5efd 100644 --- a/framework/inc/uielement/toolbarmanager.hxx +++ b/framework/inc/uielement/toolbarmanager.hxx @@ -170,7 +170,6 @@ class ToolBarManager : public ToolbarManager_Base css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer; css::uno::Reference< css::frame::XFrame > m_xFrame; - css::uno::Reference< css::container::XNameAccess > m_xUICommandLabels; ToolBarControllerMap m_aControllerMap; osl::Mutex m_mutex; ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener diff --git a/framework/source/services/mediatypedetectionhelper.cxx b/framework/source/services/mediatypedetectionhelper.cxx index 5939bee333d5..38fbb1d77838 100644 --- a/framework/source/services/mediatypedetectionhelper.cxx +++ b/framework/source/services/mediatypedetectionhelper.cxx @@ -28,8 +28,7 @@ using namespace ::com::sun::star; // constructor -MediaTypeDetectionHelper::MediaTypeDetectionHelper( const uno::Reference< lang::XMultiServiceFactory >& xFactory ) - : m_xFactory( xFactory ) +MediaTypeDetectionHelper::MediaTypeDetectionHelper( const uno::Reference< lang::XMultiServiceFactory >& ) { } diff --git a/framework/source/services/uriabbreviation.cxx b/framework/source/services/uriabbreviation.cxx index 2491471cf17e..f9c81d7bace6 100644 --- a/framework/source/services/uriabbreviation.cxx +++ b/framework/source/services/uriabbreviation.cxx @@ -43,8 +43,7 @@ DEFINE_INIT_SERVICE ( UriAbbreviation, } ) -UriAbbreviation::UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const & context) : - m_xContext(context) +UriAbbreviation::UriAbbreviation(css::uno::Reference< css::uno::XComponentContext > const & ) { } |