New Defects reported by Coverity Scan for LibreOffice

scan-admin at coverity.com scan-admin at coverity.com
Wed Jun 25 17:35:07 UTC 2025


Hi,

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

18 new defect(s) introduced to LibreOffice found with Coverity Scan.
10 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 18 of 18 defect(s)


** CID 1655157:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655157:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 777             in sdext::presenter::PresenterSlideShowView::PaintInnerWindow(const com::sun::star::awt::PaintEvent &)()
771     {
772         // Forward window paint to listeners.
773         awt::PaintEvent aEvent (rEvent);
774         aEvent.Source = static_cast<XWeak*>(this);
775         {
776             std::unique_lock l(m_aMutex);
>>>     CID 1655157:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
777             maPaintListeners.notifyEach(l, &awt::XPaintListener::windowPaint, aEvent);
778         }
779     
780         /** The slide show relies on the back buffer of the canvas not being
781             modified.  With a shared canvas there are times when that can not be
782             guaranteed.
/sd/source/console/PresenterSlideShowView.cxx: 777             in sdext::presenter::PresenterSlideShowView::PaintInnerWindow(const com::sun::star::awt::PaintEvent &)()
771     {
772         // Forward window paint to listeners.
773         awt::PaintEvent aEvent (rEvent);
774         aEvent.Source = static_cast<XWeak*>(this);
775         {
776             std::unique_lock l(m_aMutex);
>>>     CID 1655157:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
777             maPaintListeners.notifyEach(l, &awt::XPaintListener::windowPaint, aEvent);
778         }
779     
780         /** The slide show relies on the back buffer of the canvas not being
781             modified.  With a shared canvas there are times when that can not be
782             guaranteed.

** CID 1655156:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655156:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 439             in sdext::presenter::PresenterSlideShowView::removeMouseListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> &)()
433     
434     void SAL_CALL PresenterSlideShowView::removeMouseListener(
435         const Reference<awt::XMouseListener>& rxListener)
436     {
437         std::unique_lock l(m_aMutex);
438         throwIfDisposed(l);
>>>     CID 1655156:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "removeInterface".
439         maMouseListeners.removeInterface(l, rxListener);
440     }
441     
442     void SAL_CALL PresenterSlideShowView::addMouseMotionListener(
443         const Reference<awt::XMouseMotionListener>& rxListener)
444     {

** CID 1655155:       Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/sw/source/writerfilter/rtftok/rtfdocumentimpl.cxx: 1843           in writerfilter::rtftok::RTFDocumentImpl::prepareProperties(writerfilter::rtftok::RTFParserState &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, int, int, int)()


_____________________________________________________________________________________________
*** CID 1655155:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
/sw/source/writerfilter/rtftok/rtfdocumentimpl.cxx: 1843             in writerfilter::rtftok::RTFDocumentImpl::prepareProperties(writerfilter::rtftok::RTFParserState &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, tools::SvRef<writerfilter::Reference<writerfilter::Properties>> &, int, int, int)()
1837                           NS_ooxml::LN_CT_TblCellMar_left, new RTFValue(aAttributes));
1838             putNestedSprm(localTableRowSprms, NS_ooxml::LN_CT_TblPrBase_tblCellMar,
1839                           NS_ooxml::LN_CT_TblCellMar_right, new RTFValue(aAttributes));
1840         }
1841     
1842         o_rpTableRowProperties
>>>     CID 1655155:         Performance inefficiencies  (COPY_INSTEAD_OF_MOVE)
>>>     "localTableRowSprms" is passed-by-value as parameter to "writerfilter::rtftok::RTFReferenceProperties::RTFReferenceProperties(writerfilter::rtftok::RTFSprms, writerfilter::rtftok::RTFSprms)" when it could be moved instead.
1843             = new RTFReferenceProperties(rState.getTableRowAttributes(), localTableRowSprms);
1844     }
1845     
1846     void RTFDocumentImpl::sendProperties(
1847         writerfilter::Reference<Properties>::Pointer_t const& pParagraphProperties,
1848         writerfilter::Reference<Properties>::Pointer_t const& pFrameProperties,

** CID 1655154:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655154:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 407             in sdext::presenter::PresenterSlideShowView::removeTransformationChangedListener(const com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> &)()
401     
402     void SAL_CALL PresenterSlideShowView::removeTransformationChangedListener(
403         const Reference<util::XModifyListener>& rxListener)
404     {
405         std::unique_lock l(m_aMutex);
406         throwIfDisposed(l);
>>>     CID 1655154:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "removeInterface".
407         maModifyListeners.removeInterface(l, rxListener);
408     }
409     
410     void SAL_CALL PresenterSlideShowView::addPaintListener(
411         const Reference<awt::XPaintListener>& rxListener)
412     {

** CID 1655153:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655153:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 548             in sdext::presenter::PresenterSlideShowView::mouseReleased(const com::sun::star::awt::MouseEvent &)()
542     void SAL_CALL PresenterSlideShowView::mouseReleased (const awt::MouseEvent& rEvent)
543     {
544         awt::MouseEvent aEvent (rEvent);
545         aEvent.Source = static_cast<XWeak*>(this);
546         {
547             std::unique_lock l(m_aMutex);
>>>     CID 1655153:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
548             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseReleased, aEvent);
549         }
550     }
551     
552     void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEvent)
553     {
/sd/source/console/PresenterSlideShowView.cxx: 548             in sdext::presenter::PresenterSlideShowView::mouseReleased(const com::sun::star::awt::MouseEvent &)()
542     void SAL_CALL PresenterSlideShowView::mouseReleased (const awt::MouseEvent& rEvent)
543     {
544         awt::MouseEvent aEvent (rEvent);
545         aEvent.Source = static_cast<XWeak*>(this);
546         {
547             std::unique_lock l(m_aMutex);
>>>     CID 1655153:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
548             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseReleased, aEvent);
549         }
550     }
551     
552     void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEvent)
553     {

** CID 1655152:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655152:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 415             in sdext::presenter::PresenterSlideShowView::addPaintListener(const com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> &)()
409     
410     void SAL_CALL PresenterSlideShowView::addPaintListener(
411         const Reference<awt::XPaintListener>& rxListener)
412     {
413         std::unique_lock l(m_aMutex);
414         throwIfDisposed(l);
>>>     CID 1655152:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "addInterface".
415         maPaintListeners.addInterface(l, rxListener);
416     }
417     
418     void SAL_CALL PresenterSlideShowView::removePaintListener(
419         const Reference<awt::XPaintListener>& rxListener)
420     {

** CID 1655151:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655151:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 531             in sdext::presenter::PresenterSlideShowView::mousePressed(const com::sun::star::awt::MouseEvent &)()
525     void SAL_CALL PresenterSlideShowView::mousePressed (const awt::MouseEvent& rEvent)
526     {
527         awt::MouseEvent aEvent (rEvent);
528         aEvent.Source = static_cast<XWeak*>(this);
529         {
530             std::unique_lock l(m_aMutex);
>>>     CID 1655151:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
531             maMouseListeners.notifyEach(l, &awt::XMouseListener::mousePressed, aEvent);
532         }
533     
534         // Only when the end slide is displayed we forward the mouse event to
535         // the PresenterController so that it switches to the next slide and
536         // ends the presentation.
/sd/source/console/PresenterSlideShowView.cxx: 531             in sdext::presenter::PresenterSlideShowView::mousePressed(const com::sun::star::awt::MouseEvent &)()
525     void SAL_CALL PresenterSlideShowView::mousePressed (const awt::MouseEvent& rEvent)
526     {
527         awt::MouseEvent aEvent (rEvent);
528         aEvent.Source = static_cast<XWeak*>(this);
529         {
530             std::unique_lock l(m_aMutex);
>>>     CID 1655151:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
531             maMouseListeners.notifyEach(l, &awt::XMouseListener::mousePressed, aEvent);
532         }
533     
534         // Only when the end slide is displayed we forward the mouse event to
535         // the PresenterController so that it switches to the next slide and
536         // ends the presentation.

** CID 1655150:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655150:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 431             in sdext::presenter::PresenterSlideShowView::addMouseListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseListener> &)()
425     
426     void SAL_CALL PresenterSlideShowView::addMouseListener(
427         const Reference<awt::XMouseListener>& rxListener)
428     {
429         std::unique_lock l(m_aMutex);
430         throwIfDisposed(l);
>>>     CID 1655150:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "addInterface".
431         maMouseListeners.addInterface(l, rxListener);
432     }
433     
434     void SAL_CALL PresenterSlideShowView::removeMouseListener(
435         const Reference<awt::XMouseListener>& rxListener)
436     {

** CID 1655149:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655149:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 558             in sdext::presenter::PresenterSlideShowView::mouseEntered(const com::sun::star::awt::MouseEvent &)()
552     void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEvent)
553     {
554         awt::MouseEvent aEvent (rEvent);
555         aEvent.Source = static_cast<XWeak*>(this);
556         {
557             std::unique_lock l(m_aMutex);
>>>     CID 1655149:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
558             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseEntered, aEvent);
559         }
560     }
561     
562     void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent)
563     {
/sd/source/console/PresenterSlideShowView.cxx: 558             in sdext::presenter::PresenterSlideShowView::mouseEntered(const com::sun::star::awt::MouseEvent &)()
552     void SAL_CALL PresenterSlideShowView::mouseEntered (const awt::MouseEvent& rEvent)
553     {
554         awt::MouseEvent aEvent (rEvent);
555         aEvent.Source = static_cast<XWeak*>(this);
556         {
557             std::unique_lock l(m_aMutex);
>>>     CID 1655149:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
558             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseEntered, aEvent);
559         }
560     }
561     
562     void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent)
563     {

** CID 1655148:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655148:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 887             in sdext::presenter::PresenterSlideShowView::Resize()()
881     
882         // Notify listeners that the transformation that maps the view into the
883         // window has changed.
884         lang::EventObject aEvent (static_cast<XWeak*>(this));
885         {
886             std::unique_lock l(m_aMutex);
>>>     CID 1655148:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
887             maModifyListeners.notifyEach(l, &util::XModifyListener::modified, aEvent);
888         }
889     
890         // Due to constant aspect ratio resizing may lead a preview that changes
891         // its position but not its size.  This invalidates the back buffer and
892         // we have to enforce a complete repaint.
/sd/source/console/PresenterSlideShowView.cxx: 887             in sdext::presenter::PresenterSlideShowView::Resize()()
881     
882         // Notify listeners that the transformation that maps the view into the
883         // window has changed.
884         lang::EventObject aEvent (static_cast<XWeak*>(this));
885         {
886             std::unique_lock l(m_aMutex);
>>>     CID 1655148:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
887             maModifyListeners.notifyEach(l, &util::XModifyListener::modified, aEvent);
888         }
889     
890         // Due to constant aspect ratio resizing may lead a preview that changes
891         // its position but not its size.  This invalidates the back buffer and
892         // we have to enforce a complete repaint.

** CID 1655147:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655147:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 590             in sdext::presenter::PresenterSlideShowView::mouseMoved(const com::sun::star::awt::MouseEvent &)()
584     void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent)
585     {
586         awt::MouseEvent aEvent (rEvent);
587         aEvent.Source = static_cast<XWeak*>(this);
588         {
589             std::unique_lock l(m_aMutex);
>>>     CID 1655147:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
590             maMouseMotionListeners.notifyEach(l, &awt::XMouseMotionListener::mouseMoved, aEvent);
591         }
592     }
593     
594     //----- XWindowListener -------------------------------------------------------
595     
/sd/source/console/PresenterSlideShowView.cxx: 590             in sdext::presenter::PresenterSlideShowView::mouseMoved(const com::sun::star::awt::MouseEvent &)()
584     void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent)
585     {
586         awt::MouseEvent aEvent (rEvent);
587         aEvent.Source = static_cast<XWeak*>(this);
588         {
589             std::unique_lock l(m_aMutex);
>>>     CID 1655147:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
590             maMouseMotionListeners.notifyEach(l, &awt::XMouseMotionListener::mouseMoved, aEvent);
591         }
592     }
593     
594     //----- XWindowListener -------------------------------------------------------
595     

** CID 1655146:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655146:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 447             in sdext::presenter::PresenterSlideShowView::addMouseMotionListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> &)()
441     
442     void SAL_CALL PresenterSlideShowView::addMouseMotionListener(
443         const Reference<awt::XMouseMotionListener>& rxListener)
444     {
445         std::unique_lock l(m_aMutex);
446         throwIfDisposed(l);
>>>     CID 1655146:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "addInterface".
447         maMouseMotionListeners.addInterface(l, rxListener);
448     }
449     
450     void SAL_CALL PresenterSlideShowView::removeMouseMotionListener(
451         const Reference<awt::XMouseMotionListener>& rxListener)
452     {

** CID 1655145:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655145:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 580             in sdext::presenter::PresenterSlideShowView::mouseDragged(const com::sun::star::awt::MouseEvent &)()
574     void SAL_CALL PresenterSlideShowView::mouseDragged (const awt::MouseEvent& rEvent)
575     {
576         awt::MouseEvent aEvent (rEvent);
577         aEvent.Source = static_cast<XWeak*>(this);
578         {
579             std::unique_lock l(m_aMutex);
>>>     CID 1655145:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
580             maMouseMotionListeners.notifyEach(l, &awt::XMouseMotionListener::mouseDragged, aEvent);
581         }
582     }
583     
584     void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent)
585     {
/sd/source/console/PresenterSlideShowView.cxx: 580             in sdext::presenter::PresenterSlideShowView::mouseDragged(const com::sun::star::awt::MouseEvent &)()
574     void SAL_CALL PresenterSlideShowView::mouseDragged (const awt::MouseEvent& rEvent)
575     {
576         awt::MouseEvent aEvent (rEvent);
577         aEvent.Source = static_cast<XWeak*>(this);
578         {
579             std::unique_lock l(m_aMutex);
>>>     CID 1655145:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
580             maMouseMotionListeners.notifyEach(l, &awt::XMouseMotionListener::mouseDragged, aEvent);
581         }
582     }
583     
584     void SAL_CALL PresenterSlideShowView::mouseMoved (const awt::MouseEvent& rEvent)
585     {

** CID 1655144:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655144:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 399             in sdext::presenter::PresenterSlideShowView::addTransformationChangedListener(const com::sun::star::uno::Reference<com::sun::star::util::XModifyListener> &)()
393     
394     void SAL_CALL PresenterSlideShowView::addTransformationChangedListener(
395         const Reference<util::XModifyListener>& rxListener)
396     {
397         std::unique_lock l(m_aMutex);
398         throwIfDisposed(l);
>>>     CID 1655144:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "addInterface".
399         maModifyListeners.addInterface(l, rxListener);
400     }
401     
402     void SAL_CALL PresenterSlideShowView::removeTransformationChangedListener(
403         const Reference<util::XModifyListener>& rxListener)
404     {

** CID 1655143:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655143:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 455             in sdext::presenter::PresenterSlideShowView::removeMouseMotionListener(const com::sun::star::uno::Reference<com::sun::star::awt::XMouseMotionListener> &)()
449     
450     void SAL_CALL PresenterSlideShowView::removeMouseMotionListener(
451         const Reference<awt::XMouseMotionListener>& rxListener)
452     {
453         std::unique_lock l(m_aMutex);
454         throwIfDisposed(l);
>>>     CID 1655143:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "removeInterface".
455         maMouseMotionListeners.removeInterface(l, rxListener);
456     }
457     
458     void SAL_CALL PresenterSlideShowView::setMouseCursor(::sal_Int16 nPointerShape)
459     {
460         {

** CID 1655142:       Uninitialized variables  (UNINIT)


_____________________________________________________________________________________________
*** CID 1655142:         Uninitialized variables  (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 423             in sdext::presenter::PresenterSlideShowView::removePaintListener(const com::sun::star::uno::Reference<com::sun::star::awt::XPaintListener> &)()
417     
418     void SAL_CALL PresenterSlideShowView::removePaintListener(
419         const Reference<awt::XPaintListener>& rxListener)
420     {
421         std::unique_lock l(m_aMutex);
422         throwIfDisposed(l);
>>>     CID 1655142:         Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "removeInterface".
423         maPaintListeners.removeInterface(l, rxListener);
424     }
425     
426     void SAL_CALL PresenterSlideShowView::addMouseListener(
427         const Reference<awt::XMouseListener>& rxListener)
428     {

** CID 1655141:       Memory - illegal accesses  (USE_AFTER_FREE)
/vcl/unx/gtk3/gtkinst.cxx: 5992           in <unnamed>::ChildFrame::Relocate(_GtkWidget *)()


_____________________________________________________________________________________________
*** CID 1655141:         Memory - illegal accesses  (USE_AFTER_FREE)
/vcl/unx/gtk3/gtkinst.cxx: 5992             in <unnamed>::ChildFrame::Relocate(_GtkWidget *)()
5986             gtk_widget_realize(pWindow);
5987             gtk_widget_set_can_focus(pWindow, true);
5988             g_object_unref(pWindow);
5989     
5990             // for x11 we have to keep the relative geometry of the embedded GtkSalFrame up to date when
5991             // the parent geometry changes (and when the GtkContainer positions the embedded GtkSalFrame)
>>>     CID 1655141:         Memory - illegal accesses  (USE_AFTER_FREE)
>>>     Passing freed pointer "pWindow" as an argument to "isPositioningAllowed".
5992             if (isPositioningAllowed(pWindow))
5993             {
5994                 GtkWidget* pTopLevel = widget_get_toplevel(pWindow);
5995                 if (GtkSalFrame* pParentFrame = GtkSalFrame::getFromWindow(pTopLevel))
5996                 {
5997                     maWindowEventHdl = LINK(this, ChildFrame, WindowEventHdl);

** CID 1655140:         (UNINIT)


_____________________________________________________________________________________________
*** CID 1655140:           (UNINIT)
/sd/source/console/PresenterSlideShowView.cxx: 568             in sdext::presenter::PresenterSlideShowView::mouseExited(const com::sun::star::awt::MouseEvent &)()
562     void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent)
563     {
564         awt::MouseEvent aEvent (rEvent);
565         aEvent.Source = static_cast<XWeak*>(this);
566         {
567             std::unique_lock l(m_aMutex);
>>>     CID 1655140:           (UNINIT)
>>>     Using uninitialized value "l._M_device" when calling "notifyEach".
568             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseExited, aEvent);
569         }
570     }
571     
572     //----- XMouseMotionListener --------------------------------------------------
573     
/sd/source/console/PresenterSlideShowView.cxx: 568             in sdext::presenter::PresenterSlideShowView::mouseExited(const com::sun::star::awt::MouseEvent &)()
562     void SAL_CALL PresenterSlideShowView::mouseExited (const awt::MouseEvent& rEvent)
563     {
564         awt::MouseEvent aEvent (rEvent);
565         aEvent.Source = static_cast<XWeak*>(this);
566         {
567             std::unique_lock l(m_aMutex);
>>>     CID 1655140:           (UNINIT)
>>>     Using uninitialized value "l._M_owns" when calling "notifyEach".
568             maMouseListeners.notifyEach(l, &awt::XMouseListener::mouseExited, aEvent);
569         }
570     }
571     
572     //----- XMouseMotionListener --------------------------------------------------
573     


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250625/cfcfd1e0/attachment.htm>


More information about the LibreOffice mailing list