diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-31 21:39:04 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-01-31 21:39:04 -0600 |
commit | 11dc5895596b92fb34f99d2fdb7d1b266a51e9af (patch) | |
tree | f79a8bf20452e6a6940e4063d1658b9d28d2a436 /reportdesign/source/ui | |
parent | aaddfccb690f4aaa263cc24cb2fd616eebc1a8c1 (diff) |
coverity#738781 : Uninitialized scalar field
Change-Id: I85875bd817a94f7c1b457a85780329cf85a1c71d
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index bbaf7482501d..5ff6428e3e0e 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -282,9 +282,11 @@ OReportController::OReportController(Reference< XComponentContext > const & xCon ,m_aSelectionListeners( getMutex() ) ,m_pClipbordNotifier(NULL) ,m_pGroupsFloater(NULL) + ,m_sMode("normal") ,m_nSplitPos(-1) ,m_nPageNum(-1) ,m_nSelectionCount(0) + ,m_nAspect(0) ,m_nZoomValue(100) ,m_eZoomType(SVX_ZOOM_PERCENT) ,m_bShowRuler(sal_True) @@ -300,9 +302,9 @@ OReportController::OReportController(Reference< XComponentContext > const & xCon // new Observer m_pReportControllerObserver = new OXReportControllerObserver(*this); m_pReportControllerObserver->acquire(); - - m_sMode = "normal"; - registerProperty(OUString("ZoomValue"),PROPERTY_ID_ZOOMVALUE,beans::PropertyAttribute::BOUND| beans::PropertyAttribute::TRANSIENT,&m_nZoomValue,::getCppuType(static_cast< sal_Int16*>(0))); + registerProperty(OUString("ZoomValue"), PROPERTY_ID_ZOOMVALUE, + beans::PropertyAttribute::BOUND | beans::PropertyAttribute::TRANSIENT, + &m_nZoomValue, ::getCppuType(static_cast< sal_Int16*>(0))); } // ----------------------------------------------------------------------------- |