New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Fri May 1 04:20:48 PDT 2015


Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

2 new defect(s) introduced to LibreOffice found with Coverity Scan.
12 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 1296293:  Uninitialized members  (UNINIT_CTOR)
/svx/source/engine3d/float3d.cxx: 324 in Svx3DWin::Svx3DWin(SfxBindings *, SfxChildWindow *, vcl::Window *)()


________________________________________________________________________________________________________
*** CID 1296293:  Uninitialized members  (UNINIT_CTOR)
/svx/source/engine3d/float3d.cxx: 324 in Svx3DWin::Svx3DWin(SfxBindings *, SfxChildWindow *, vcl::Window *)()
318         Reset();
319     
320         //lock down the size of the initial largest default mode as the permanent size
321         aSize = get_preferred_size();
322         set_width_request(aSize.Width());
323         set_height_request(aSize.Height());
>>>     CID 1296293:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "ePoolUnit" is not initialized in this constructor nor in any functions that it calls.
324     }
325     
326     Svx3DWin::~Svx3DWin()
327     {
328         disposeOnce();
329     }

** CID 1296292:  Incorrect expression  (MIXED_ENUMS)
/sc/source/ui/miscdlgs/highred.cxx: 226 in ScHighlightChgDlg::OKBtnHdl(PushButton *)()


________________________________________________________________________________________________________
*** CID 1296292:  Incorrect expression  (MIXED_ENUMS)
/sc/source/ui/miscdlgs/highred.cxx: 226 in ScHighlightChgDlg::OKBtnHdl(PushButton *)()
220     IMPL_LINK( ScHighlightChgDlg, OKBtnHdl, PushButton*, pOKBtn )
221     {
222         if (pOKBtn == m_pOkButton)
223         {
224             aChangeViewSet.SetShowChanges(m_pHighlightBox->IsChecked());
225             aChangeViewSet.SetHasDate(m_pFilterCtr->IsDate());
>>>     CID 1296292:  Incorrect expression  (MIXED_ENUMS)
>>>     Mixing enum types "ScChgsDateMode" and "SvxRedlinDateMode" for "eMode".
226             ScChgsDateMode eMode = (ScChgsDateMode) m_pFilterCtr->GetDateMode();
227             aChangeViewSet.SetTheDateMode( eMode );
228             Date aFirstDate( m_pFilterCtr->GetFirstDate() );
229             tools::Time aFirstTime( m_pFilterCtr->GetFirstTime() );
230             Date aLastDate( m_pFilterCtr->GetLastDate() );
231             tools::Time aLastTime( m_pFilterCtr->GetLastTime() );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/211?tab=overview

To manage Coverity Scan email notifications for "libreoffice at lists.freedesktop.org", click https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org&token=d6481d718a775246b2340f282ebe5939 .



More information about the LibreOffice mailing list