diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-21 13:18:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-21 13:51:29 +0200 |
commit | 3785f82e26c33c385494229be3bcfbe2daffe872 (patch) | |
tree | f4b2fca382809b33d6175c2c924f9c3a62d362c1 /svx/source/tbxctrls/tbunocontroller.cxx | |
parent | 45f39af2b72fa7455bb94a92ec51c4aa9e26ae2c (diff) |
loplugin:unusedfields in store,svtools,svx
Change-Id: I9577c64e33950899c2e3467c7b481504e021d470
Diffstat (limited to 'svx/source/tbxctrls/tbunocontroller.cxx')
-rw-r--r-- | svx/source/tbxctrls/tbunocontroller.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/svx/source/tbxctrls/tbunocontroller.cxx b/svx/source/tbxctrls/tbunocontroller.cxx index 0ccfbd692ebf..306b89f97674 100644 --- a/svx/source/tbxctrls/tbunocontroller.cxx +++ b/svx/source/tbxctrls/tbunocontroller.cxx @@ -86,7 +86,6 @@ class SvxFontSizeBox_Impl : public FontSizeBox { public: SvxFontSizeBox_Impl( vcl::Window* pParent, - const uno::Reference< frame::XDispatchProvider >& rDispatchProvider, const uno::Reference< frame::XFrame >& _xFrame, FontHeightToolBoxControl& rCtrl ); @@ -105,16 +104,13 @@ private: OUString m_aCurText; Size m_aLogicalSize; bool m_bRelease; - uno::Reference< frame::XDispatchProvider > m_xDispatchProvider; uno::Reference< frame::XFrame > m_xFrame; - uno::Reference< awt::XWindow > m_xOldFocusWindow; void ReleaseFocus_Impl(); }; SvxFontSizeBox_Impl::SvxFontSizeBox_Impl( - vcl::Window* _pParent, - const uno::Reference< frame::XDispatchProvider >& _rDispatchProvider, + vcl::Window* _pParent, const uno::Reference< frame::XFrame >& _xFrame, FontHeightToolBoxControl& _rCtrl ) : @@ -123,7 +119,6 @@ SvxFontSizeBox_Impl::SvxFontSizeBox_Impl( m_pCtrl ( &_rCtrl ), m_aLogicalSize ( 0,100 ), m_bRelease ( true ), - m_xDispatchProvider ( _rDispatchProvider ), m_xFrame ( _xFrame ) { SetValue( 0 ); @@ -399,12 +394,7 @@ uno::Reference< awt::XWindow > SAL_CALL FontHeightToolBoxControl::createItemWind if ( pParent ) { SolarMutexGuard aSolarMutexGuard; - m_pBox = VclPtr<SvxFontSizeBox_Impl>::Create( - - pParent, - uno::Reference< frame::XDispatchProvider >( m_xFrame, uno::UNO_QUERY ), - m_xFrame, - *this ); + m_pBox = VclPtr<SvxFontSizeBox_Impl>::Create( pParent, m_xFrame, *this ); //Get the box to fill itself with all its sizes m_pBox->UpdateFont(m_aCurrentFont); //Make it size itself to its optimal size re above sizes |