summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/misc/statusbarcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/misc/statusbarcontroller.cxx')
-rw-r--r--reportdesign/source/ui/misc/statusbarcontroller.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/ui/misc/statusbarcontroller.cxx b/reportdesign/source/ui/misc/statusbarcontroller.cxx
index 08461d90b51d..e7408806e2fc 100644
--- a/reportdesign/source/ui/misc/statusbarcontroller.cxx
+++ b/reportdesign/source/ui/misc/statusbarcontroller.cxx
@@ -103,11 +103,13 @@ void SAL_CALL OStatusbarController::initialize( const Sequence< Any >& _rArgumen
SfxStatusBarControl *pController = nullptr;
if ( m_aCommandURL == ".uno:ZoomSlider" )
{
- pController = new SvxZoomSliderControl(m_nSlotId = SID_ATTR_ZOOMSLIDER,m_nId,*pStatusBar);
+ m_nSlotId = SID_ATTR_ZOOMSLIDER;
+ pController = new SvxZoomSliderControl(m_nSlotId,m_nId,*pStatusBar);
}
else if ( m_aCommandURL == ".uno:Zoom" )
{
- pController = new SvxZoomStatusBarControl(m_nSlotId = SID_ATTR_ZOOM,m_nId,*pStatusBar);
+ m_nSlotId = SID_ATTR_ZOOM;
+ pController = new SvxZoomStatusBarControl(m_nSlotId,m_nId,*pStatusBar);
}
if ( pController )