summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-21 14:53:14 +0200
committerNoel Grandin <noel@peralex.com>2015-12-22 09:53:27 +0200
commite24c4c40c052591414cedab2fba152170d385580 (patch)
tree93c46e8cc14b4332251a7cc1ef93197a2e09d9c7 /sc/source/ui/cctrl
parent8ac44ca1890f31521e34c14db1b796a80456404b (diff)
loplugin:unusedfields in sc
Change-Id: Ic801acdd16eded595fdb2a452bbed532b7c9fd65
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r--sc/source/ui/cctrl/tbzoomsliderctrl.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
index 79d1ccb9142a..cac2d488c131 100644
--- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
+++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx
@@ -85,7 +85,7 @@ VclPtr<vcl::Window> ScZoomSliderControl::CreateItemWindow( vcl::Window *pParent
// The view's value is always notified via StateChanged later.
VclPtrInstance<ScZoomSliderWnd> pSlider( pParent,
css::uno::Reference< css::frame::XDispatchProvider >( m_xFrame->getController(),
- css::uno::UNO_QUERY ), m_xFrame, 100 );
+ css::uno::UNO_QUERY ), 100 );
return pSlider.get();
}
@@ -218,13 +218,11 @@ long ScZoomSliderWnd::Zoom2Offset( sal_uInt16 nCurrentZoom ) const
ScZoomSliderWnd::ScZoomSliderWnd( vcl::Window* pParent,
const css::uno::Reference< css::frame::XDispatchProvider >& rDispatchProvider,
- const css::uno::Reference< css::frame::XFrame >& _xFrame,
sal_uInt16 nCurrentZoom ):
Window( pParent ),
mpImpl( new ScZoomSliderWnd_Impl( nCurrentZoom ) ),
aLogicalSize( 115, 40 ),
- m_xDispatchProvider( rDispatchProvider ),
- m_xFrame( _xFrame )
+ m_xDispatchProvider( rDispatchProvider )
{
mpImpl->maSliderButton = Image( SVX_RES( RID_SVXBMP_SLIDERBUTTON ) );
mpImpl->maIncreaseButton = Image( SVX_RES( RID_SVXBMP_SLIDERINCREASE ) );