diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/cctrl/tbzoomsliderctrl.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx index d14dd1cb08c0..31eb73b0a8e5 100644 --- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx +++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx @@ -216,11 +216,12 @@ void ScZoomSliderWnd::dispose() ScZoomSlider::ScZoomSlider(css::uno::Reference< css::frame::XDispatchProvider> xDispatchProvider, sal_uInt16 nCurrentZoom) - : mnCurrentZoom( nCurrentZoom ), - mnMinZoom( 10 ), - mnMaxZoom( 400 ), - mbOmitPaint( false ), - m_xDispatchProvider(std::move(xDispatchProvider)) + : mnSliderLength(0) + , mnCurrentZoom(nCurrentZoom) + , mnMinZoom(10) + , mnMaxZoom(400) + , mbOmitPaint(false) + , m_xDispatchProvider(std::move(xDispatchProvider)) { maSliderButton = Image(StockImage::Yes, RID_SVXBMP_SLIDERBUTTON); maIncreaseButton = Image(StockImage::Yes, RID_SVXBMP_SLIDERINCREASE); |