Hi,
Please find the latest report on new defect(s) introduced to LibreOffice found
with Coverity Scan.
50 new defect(s) introduced to LibreOffice found with Coverity Scan.
18 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 20 of 50 defect(s)
** CID 1695437: Performance inefficiencies (AUTO_CAUSES_COPY)
/sfx2/source/dialog/templdlg.cxx: 255 in
SfxCommonTemplateDialog_Impl::StyleFiltersToolbarPopup::StyleFiltersToolbarPopup(weld::Toolbar
*, StyleList &)()
_____________________________________________________________________________________________
*** CID 1695437: Performance inefficiencies (AUTO_CAUSES_COPY)
/sfx2/source/dialog/templdlg.cxx: 255 in
SfxCommonTemplateDialog_Impl::StyleFiltersToolbarPopup::StyleFiltersToolbarPopup(weld::Toolbar
*, StyleList &)()
249
m_xFiltersTreeView->enable_toggle_buttons(weld::ColumnToggleType::Check);
250 m_xFiltersTreeView->connect_toggled(
251 LINK(this,
SfxCommonTemplateDialog_Impl::StyleFiltersToolbarPopup, StyleFilterCheckHdl));
252
253 const SfxStyleFamilyItem* pStyleFamilyItem =
rStyleList.GetFamilyItem();
254
>>> CID 1695437: Performance inefficiencies (AUTO_CAUSES_COPY)
>>> Using the "auto" keyword without an "&" causes the copy of an object of
>>> type "std::unordered_map<SfxStyleFamily, std::set<SfxStyleSearchBits,
>>> std::less<SfxStyleSearchBits>, std::allocator<SfxStyleSearchBits> >,
>>> std::hash<SfxStyleFamily>, std::equal_to<SfxStyleFamily>,
>>> std::allocator<std::pair<SfxStyleFamily const, std::set<SfxStyleSearchBits,
>>> std::less<SfxStyleSearchBits>, std::allocator<SfxStyleSearchBits> > > >
>>> >::mapped_type".
255 auto rFamilySelectedFiltersSet
256 =
rStyleList.m_aFamilySelectedFiltersSet[pStyleFamilyItem->GetFamily()];
257
258 const size_t nFamilySelectedFiltersSetSize =
rFamilySelectedFiltersSet.size();
259
260 // Initially for other than the first style family the selected
filters set only contains
** CID 1695436: Error handling issues (UNCAUGHT_EXCEPT)
/desktop/unx/source/start.cxx: 730 in main()
_____________________________________________________________________________________________
*** CID 1695436: Error handling issues (UNCAUGHT_EXCEPT)
/desktop/unx/source/start.cxx: 730 in main()
724 }
725
726 _exit(255);
727 }
728
729
>>> CID 1695436: Error handling issues (UNCAUGHT_EXCEPT)
>>> In function "main(int, char **)" an exception of type
>>> "com::sun::star::uno::RuntimeException" is thrown and never caught.
730 SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
731 {
732 bool bSentArgs = false;
733 const char* pUsePlugin;
734 rtl_uString *pPipePath = nullptr;
735 Args *args;
** CID 1695435: Uninitialized members (UNINIT_CTOR)
/sc/source/ui/unoobj/chart2uno.cxx: 2479 in
ScChart2DataSequence::ScChart2DataSequence(ScDocument *,
std::vector<boost::intrusive_ptr<formula::FormulaToken>,
std::allocator<boost::intrusive_ptr<formula::FormulaToken>>> &&, bool)()
_____________________________________________________________________________________________
*** CID 1695435: Uninitialized members (UNINIT_CTOR)
/sc/source/ui/unoobj/chart2uno.cxx: 2479 in
ScChart2DataSequence::ScChart2DataSequence(ScDocument *,
std::vector<boost::intrusive_ptr<formula::FormulaToken>,
std::allocator<boost::intrusive_ptr<formula::FormulaToken>>> &&, bool)()
2473 // rRangeList->Format( aStr, ScRefFlags::RANGE_ABS_3D, m_pDocument );
2474 // m_aIdentifier = aStr;
2475
2476 // m_aIdentifier = "ID_";
2477 // static sal_Int32 nID = 0;
2478 // m_aIdentifier += OUString::valueOf( ++nID);
>>> CID 1695435: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "m_eDimType" is not initialized in this
>>> constructor nor in any functions that it calls.
2479 }
2480
2481 /** called from Clone() */
2482 ScChart2DataSequence::ScChart2DataSequence(ScDocument* pDoc, const
ScChart2DataSequence& r)
2483 : m_xDataArray(r.m_xDataArray)
2484 , m_aHiddenValues(r.m_aHiddenValues)
** CID 1695434: (MISSING_LOCK)
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::XScriptListener,
com::sun::star::util::XCloseListener, com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::sheet::XSolver,
com::sun::star::sheet::XSolverDescription,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::browse::XBrowseNode,
com::sun::star::script::XInvocation>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
com::sun::star::chart2::data::XNumericalDataSequence,
com::sun::star::chart2::data::XTextualDataSequence,
com::sun::star::util::XCloneable, com::sun::star::util::XModifiable,
com::sun::star::container::XIndexReplace, com::sun::star::container::XNamed,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::table::XTableChart,
com::sun::star::document::XEmbeddedObjectSupplier,
com::sun::star::container::XNamed,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XValueBinding,
com::sun::star::lang::XServiceInfo, com::sun::star::util::XModifyBroadcaster,
com::sun::star::util::XModifyListener,
com::sun::star::lang::XInitialization>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XListEntryTypedSource,
com::sun::star::util::XModifyListener, com::sun::star::lang::XServiceInfo,
com::sun::star::lang::XInitialization>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::sdbc::XResultSet,
com::sun::star::sdbc::XRow, com::sun::star::sdbc::XResultSetMetaDataSupplier,
com::sun::star::util::XCancellable, com::sun::star::sdbc::XWarningsSupplier,
com::sun::star::sdbc::XCloseable, com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo,
com::sun::star::sdbc::XColumnLocate>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::frame::XStatusListener,
com::sun::star::frame::XToolbarController,
com::sun::star::lang::XInitialization,
com::sun::star::util::XUpdatable>>::fire(std::unique_lock<std::mutex> &, const
int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any *, int,
bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::lang::XServiceInfo,
com::sun::star::lang::XInitialization, com::sun::star::util::XChangesListener,
com::sun::star::util::XPathSettings>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::provider::XScript>>::fire(std::unique_lock<std::mutex>
&, const int *, const com::sun::star::uno::Any *, const
com::sun::star::uno::Any *, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::xsd::XDataType>>::fire(std::unique_lock<std::mutex>
&, const int *, const com::sun::star::uno::Any *, const
com::sun::star::uno::Any *, int, bool)()
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
com::sun::star::chart2::data::XNumericalDataSequence,
com::sun::star::chart2::data::XTextualDataSequence,
com::sun::star::util::XCloneable, com::sun::star::util::XModifyBroadcaster,
com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
_____________________________________________________________________________________________
*** CID 1695434: (MISSING_LOCK)
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::XScriptListener,
com::sun::star::util::XCloseListener, com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::XScriptListener,
>>> com::sun::star::util::XCloseListener,
>>> com::sun::star::lang::XInitialization, com::sun::star::lang::XServiceInfo>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::sheet::XSolver,
com::sun::star::sheet::XSolverDescription,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::sheet::XSolver,
>>> com::sun::star::sheet::XSolverDescription,
>>> com::sun::star::lang::XServiceInfo> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::browse::XBrowseNode,
com::sun::star::script::XInvocation>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::browse::XBrowseNode,
>>> com::sun::star::script::XInvocation> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
com::sun::star::chart2::data::XNumericalDataSequence,
com::sun::star::chart2::data::XTextualDataSequence,
com::sun::star::util::XCloneable, com::sun::star::util::XModifiable,
com::sun::star::container::XIndexReplace, com::sun::star::container::XNamed,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
>>> com::sun::star::chart2::data::XNumericalDataSequence,
>>> com::sun::star::chart2::data::XTextualDataSequence,
>>> com::sun::star::util::XCloneable, com::sun::star::util::XModifiable,
>>> com::sun::star::container::XIndexReplace,
>>> com::sun::star::container::XNamed, com::sun::star::lang::XServiceInfo>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::table::XTableChart,
com::sun::star::document::XEmbeddedObjectSupplier,
com::sun::star::container::XNamed,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::table::XTableChart,
>>> com::sun::star::document::XEmbeddedObjectSupplier,
>>> com::sun::star::container::XNamed, com::sun::star::lang::XServiceInfo>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XValueBinding,
com::sun::star::lang::XServiceInfo, com::sun::star::util::XModifyBroadcaster,
com::sun::star::util::XModifyListener,
com::sun::star::lang::XInitialization>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XValueBinding,
>>> com::sun::star::lang::XServiceInfo,
>>> com::sun::star::util::XModifyBroadcaster,
>>> com::sun::star::util::XModifyListener,
>>> com::sun::star::lang::XInitialization> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XListEntryTypedSource,
com::sun::star::util::XModifyListener, com::sun::star::lang::XServiceInfo,
com::sun::star::lang::XInitialization>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::form::binding::XListEntryTypedSource,
>>> com::sun::star::util::XModifyListener, com::sun::star::lang::XServiceInfo,
>>> com::sun::star::lang::XInitialization> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::sdbc::XResultSet,
com::sun::star::sdbc::XRow, com::sun::star::sdbc::XResultSetMetaDataSupplier,
com::sun::star::util::XCancellable, com::sun::star::sdbc::XWarningsSupplier,
com::sun::star::sdbc::XCloseable, com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo,
com::sun::star::sdbc::XColumnLocate>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::sdbc::XResultSet,
>>> com::sun::star::sdbc::XRow,
>>> com::sun::star::sdbc::XResultSetMetaDataSupplier,
>>> com::sun::star::util::XCancellable,
>>> com::sun::star::sdbc::XWarningsSupplier, com::sun::star::sdbc::XCloseable,
>>> com::sun::star::lang::XInitialization, com::sun::star::lang::XServiceInfo,
>>> com::sun::star::sdbc::XColumnLocate> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::frame::XStatusListener,
com::sun::star::frame::XToolbarController,
com::sun::star::lang::XInitialization,
com::sun::star::util::XUpdatable>>::fire(std::unique_lock<std::mutex> &, const
int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any *, int,
bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::frame::XStatusListener,
>>> com::sun::star::frame::XToolbarController,
>>> com::sun::star::lang::XInitialization, com::sun::star::util::XUpdatable>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::lang::XServiceInfo,
com::sun::star::lang::XInitialization, com::sun::star::util::XChangesListener,
com::sun::star::util::XPathSettings>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::lang::XServiceInfo,
>>> com::sun::star::lang::XInitialization,
>>> com::sun::star::util::XChangesListener,
>>> com::sun::star::util::XPathSettings> >.m_aPropertiesChangeListeners" is
>>> written to with "UnoImplBase.m_aMutex" held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::provider::XScript>>::fire(std::unique_lock<std::mutex>
&, const int *, const com::sun::star::uno::Any *, const
com::sun::star::uno::Any *, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::script::provider::XScript>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::xsd::XDataType>>::fire(std::unique_lock<std::mutex>
&, const int *, const com::sun::star::uno::Any *, const
com::sun::star::uno::Any *, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakImplHelper<com::sun::star::xsd::XDataType>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
/include/comphelper/propimplhelper.hxx: 769 in
comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
com::sun::star::chart2::data::XNumericalDataSequence,
com::sun::star::chart2::data::XTextualDataSequence,
com::sun::star::util::XCloneable, com::sun::star::util::XModifyBroadcaster,
com::sun::star::lang::XInitialization,
com::sun::star::lang::XServiceInfo>>::fire(std::unique_lock<std::mutex> &,
const int *, const com::sun::star::uno::Any *, const com::sun::star::uno::Any
*, int, bool)()
763 aEvts.realloc(nChangesLen);
764
765 if (bVetoable)
766 return;
767
768 // TODO: here is a bug unbound properties are also fired
>>> CID 1695434: (MISSING_LOCK)
>>> Accessing "this->m_aPropertiesChangeListeners" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "comphelper::OPropertyImplHelper<comphelper::WeakComponentImplHelper<com::sun::star::chart2::data::XDataSequence,
>>> com::sun::star::chart2::data::XNumericalDataSequence,
>>> com::sun::star::chart2::data::XTextualDataSequence,
>>> com::sun::star::util::XCloneable, com::sun::star::util::XModifyBroadcaster,
>>> com::sun::star::lang::XInitialization, com::sun::star::lang::XServiceInfo>
>>> >.m_aPropertiesChangeListeners" is written to with "UnoImplBase.m_aMutex"
>>> held 2 out of 2 times.
769 if (!m_aPropertiesChangeListeners.getLength(rGuard))
770 return;
771
772 OInterfaceIteratorHelper4 aIt(rGuard, m_aPropertiesChangeListeners);
773 rGuard.unlock();
774 while (aIt.hasMoreElements())
** CID 1695433: Program hangs (LOCK)
/framework/source/uielement/dropdownboxtoolbarcontroller.cxx: 156 in
framework::DropdownToolbarController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695433: Program hangs (LOCK)
/framework/source/uielement/dropdownboxtoolbarcontroller.cxx: 156
in framework::DropdownToolbarController::disposing(std::unique_lock<std::mutex>
&)()
150 comphelper::unique_unlock aUnlock(rGuard);
151 SolarMutexGuard aSolarMutexGuard;
152 m_xToolbar->SetItemWindow( m_nID, nullptr );
153 m_pListBoxControl.disposeAndClear();
154 }
155 ComplexToolbarController::disposing(rGuard);
>>> CID 1695433: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
156 }
157
158 Sequence<PropertyValue>
DropdownToolbarController::getExecuteArgs(sal_Int16 KeyModifier) const
159 {
160 OUString aSelectedText = m_pListBoxControl->get_active_text();
161
** CID 1695432: Concurrent data access violations (MISSING_LOCK)
/include/svx/annotation/Annotation.hxx: 188 in
sdr::annotation::Annotation::IsResolved() const()
_____________________________________________________________________________________________
*** CID 1695432: Concurrent data access violations (MISSING_LOCK)
/include/svx/annotation/Annotation.hxx: 188 in
sdr::annotation::Annotation::IsResolved() const()
182 /// Returns true if this annotation participates in the
threaded-comments
183 /// feature (currently set only by the PDF filter).
184 bool IsThreaded() const { return m_Threaded; }
185 void SetThreaded(bool bThreaded);
186
187 /// Returns the resolved/done flag. Only meaningful if IsThreaded().
>>> CID 1695432: Concurrent data access violations (MISSING_LOCK)
>>> Accessing "this->m_Resolved" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "sdr::annotation::Annotation.m_Resolved" is written to with
>>> "UnoImplBase.m_aMutex" held 2 out of 2 times (1 of these accesses strongly
>>> imply that it is necessary).
188 bool IsResolved() const { return m_Resolved; }
189 void SetResolved(bool bResolved);
190
191 /// GetId() of the parent annotation in the thread; 0 means "root".
192 /// Only meaningful if IsThreaded().
193 sal_uInt64 GetParentId() const { return m_ParentId; }
** CID 1695431: Performance inefficiencies (PASS_BY_VALUE)
/sc/source/ui/view/dbfunc.cxx: 356 in
ScDBFunc::ToggleAutoFilter()::[lambda(int) (instance 1)]::operator ()(int)
const()
_____________________________________________________________________________________________
*** CID 1695431: Performance inefficiencies (PASS_BY_VALUE)
/sc/source/ui/view/dbfunc.cxx: 356 in
ScDBFunc::ToggleAutoFilter()::[lambda(int) (instance 1)]::operator ()(int)
const()
350
VclButtonsType::YesNo,
351
// header from first row?
352
ScResId(STR_MSSG_MAKEAUTOFILTER_0)));
353 xBox->set_title(ScResId(STR_MSSG_DOSUBTOTALS_0)); //
"StarCalc"
354 xBox->set_default_response(RET_YES);
355 xBox->SetInstallLOKNotifierHdl(LINK(this, ScDBFunc,
InstallLOKNotifierHdl));
>>> CID 1695431: Performance inefficiencies (PASS_BY_VALUE)
>>> Capturing variable "aParam" of type "ScQueryParam" (size 856 bytes) by
>>> value, which exceeds the high threshold of 512 bytes.
356 xBox->runAsync(xBox, [pDocSh, &rViewData, pDBData,
nRow, nTab, aParam] (sal_Int32 nResult) {
357 if (nResult == RET_YES)
358 {
359 pDBData->SetHeader( true ); //! Undo ??
360 }
361
** CID 1695430: Program hangs (LOCK)
/framework/source/uielement/FixedImageToolbarController.cxx: 103 in
framework::FixedImageToolbarController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695430: Program hangs (LOCK)
/framework/source/uielement/FixedImageToolbarController.cxx: 103 in
framework::FixedImageToolbarController::disposing(std::unique_lock<std::mutex>
&)()
97 SvtMiscOptions().RemoveListenerLink(
98 LINK(this, FixedImageToolbarController, MiscOptionsChanged));
99 m_xToolbar->SetItemWindow(m_nID, nullptr);
100 m_pFixedImageControl.disposeAndClear();
101 }
102 ComplexToolbarController::disposing(rGuard);
>>> CID 1695430: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
103 }
104
105 void FixedImageToolbarController::executeControlCommand(const
css::frame::ControlCommand&) {}
106
107 void FixedImageToolbarController::CheckAndUpdateImages()
108 {
** CID 1695429: Memory - corruptions (INTEGER_OVERFLOW)
/desktop/unx/source/start.cxx: 521 in read_percent(const
<unnamed>::ChildInfo *, int *)()
_____________________________________________________________________________________________
*** CID 1695429: Memory - corruptions (INTEGER_OVERFLOW)
/desktop/unx/source/start.cxx: 521 in read_percent(const
<unnamed>::ChildInfo *, int *)()
515 return ProgressContinue;
516
517 return ProgressExit;
518 }
519
520 nRead = nThisRead + nNotProcessed;
>>> CID 1695429: Memory - corruptions (INTEGER_OVERFLOW)
>>> "nRead", which might have overflowed, is used in a pointer index in
>>> "pBuffer[nRead]".
521 pBuffer[nRead] = '\0';
522
523 /* skip old data */
524 pBegin = pBuffer;
525 pNext = pBuffer;
526 for (pIter = pBuffer; *pIter; ++pIter)
** CID 1695428: (LOCK)
/framework/source/uielement/popuptoolbarcontroller.cxx: 538 in
framework::<unnamed>::SaveToolbarController::disposing(std::unique_lock<std::mutex>
&)()
/framework/source/uielement/popuptoolbarcontroller.cxx: 531 in
framework::<unnamed>::SaveToolbarController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695428: (LOCK)
/framework/source/uielement/popuptoolbarcontroller.cxx: 538 in
framework::<unnamed>::SaveToolbarController::disposing(std::unique_lock<std::mutex>
&)()
532 if ( m_xModifiable.is() )
533 {
534 m_xModifiable->removeModifyListener( this );
535 m_xModifiable.clear();
536 }
537 m_xStorable.clear();
>>> CID 1695428: (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
538 }
539
540 OUString SaveToolbarController::getImplementationName()
541 {
542 return u"com.sun.star.comp.framework.SaveToolbarController"_ustr;
543 }
/framework/source/uielement/popuptoolbarcontroller.cxx: 531 in
framework::<unnamed>::SaveToolbarController::disposing(std::unique_lock<std::mutex>
&)()
525 PopupMenuToolbarController::disposing( rEvent );
526 }
527
528 void SaveToolbarController::disposing(std::unique_lock<std::mutex>&
rGuard)
529 {
530 PopupMenuToolbarController::disposing(rGuard);
>>> CID 1695428: (LOCK)
>>> "unique_unlock" unlocks "rGuard" while it is unlocked.
531 comphelper::unique_unlock aUnlock(rGuard);
532 if ( m_xModifiable.is() )
533 {
534 m_xModifiable->removeModifyListener( this );
535 m_xModifiable.clear();
536 }
** CID 1695427: (LOCK)
/svx/source/tbxctrls/tbunocontroller.cxx: 357 in
<unnamed>::FontHeightToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
/svx/source/tbxctrls/tbunocontroller.cxx: 362 in
<unnamed>::FontHeightToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695427: (LOCK)
/svx/source/tbxctrls/tbunocontroller.cxx: 357 in
<unnamed>::FontHeightToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
351 }
352
353 // WeakComponentImplHelperBase
354 void FontHeightToolBoxControl::disposing(std::unique_lock<std::mutex>&
rGuard)
355 {
356 svt::ToolboxController::disposing(rGuard);
>>> CID 1695427: (LOCK)
>>> "unique_unlock" unlocks "rGuard" while it is unlocked.
357 comphelper::unique_unlock aUnlock(rGuard);
358 SolarMutexGuard aSolarMutexGuard;
359 m_xVclBox.disposeAndClear();
360 m_xWeldBox.reset();
361 m_pBox = nullptr;
362 }
/svx/source/tbxctrls/tbunocontroller.cxx: 362 in
<unnamed>::FontHeightToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
356 svt::ToolboxController::disposing(rGuard);
357 comphelper::unique_unlock aUnlock(rGuard);
358 SolarMutexGuard aSolarMutexGuard;
359 m_xVclBox.disposeAndClear();
360 m_xWeldBox.reset();
361 m_pBox = nullptr;
>>> CID 1695427: (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
362 }
363
364 // XStatusListener
365 void SAL_CALL FontHeightToolBoxControl::statusChanged(
366 const frame::FeatureStateEvent& rEvent )
367 {
** CID 1695426: Program hangs (LOCK)
/sd/source/ui/sidebar/SlideMasterPagesAllToolBoxControl.cxx: 37 in
SlideMasterPagesAllToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695426: Program hangs (LOCK)
/sd/source/ui/sidebar/SlideMasterPagesAllToolBoxControl.cxx: 37 in
SlideMasterPagesAllToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
31 {
32 comphelper::unique_unlock aUnlock(rGuard);
33 SolarMutexGuard aSolarMutexGuard;
34 m_xVclBox.disposeAndClear();
35 }
36 svt::ToolboxController::disposing(rGuard);
>>> CID 1695426: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
37 }
38
39 css::uno::Reference<css::awt::XWindow>
SlideMasterPagesAllToolBoxControl::createItemWindow(
40 const css::uno::Reference<css::awt::XWindow>& rParent)
41 {
42 css::uno::Reference<css::awt::XWindow> xItemWindow;
** CID 1695425: (LOCK)
/sfx2/source/view/classificationcontroller.cxx: 184 in
sfx2::<unnamed>::ClassificationCategoriesController::disposing(std::unique_lock<std::mutex>
&)()
/sfx2/source/view/classificationcontroller.cxx: 178 in
sfx2::<unnamed>::ClassificationCategoriesController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695425: (LOCK)
/sfx2/source/view/classificationcontroller.cxx: 184 in
sfx2::<unnamed>::ClassificationCategoriesController::disposing(std::unique_lock<std::mutex>
&)()
178 comphelper::unique_unlock aUnlock(rGuard);
179 SolarMutexGuard aSolarMutexGuard;
180
181 m_pClassification.disposeAndClear();
182 m_aPropertyListener.dispose();
183 m_xListener->dispose();
>>> CID 1695425: (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
184 }
185
186 uno::Reference<awt::XWindow>
ClassificationCategoriesController::createItemWindow(const
uno::Reference<awt::XWindow>& rParent)
187 {
188 VclPtr<vcl::Window> pParent = VCLUnoHelper::GetWindow(rParent);
189 auto pToolbar = dynamic_cast<ToolBox*>(pParent.get());
/sfx2/source/view/classificationcontroller.cxx: 178 in
sfx2::<unnamed>::ClassificationCategoriesController::disposing(std::unique_lock<std::mutex>
&)()
172 return { u"com.sun.star.frame.ToolbarController"_ustr };
173 }
174
175 void
ClassificationCategoriesController::disposing(std::unique_lock<std::mutex>&
rGuard)
176 {
177 svt::ToolboxController::disposing(rGuard);
>>> CID 1695425: (LOCK)
>>> "unique_unlock" unlocks "rGuard" while it is unlocked.
178 comphelper::unique_unlock aUnlock(rGuard);
179 SolarMutexGuard aSolarMutexGuard;
180
181 m_pClassification.disposeAndClear();
182 m_aPropertyListener.dispose();
183 m_xListener->dispose();
** CID 1695424: Concurrent data access violations (MISSING_LOCK)
/include/svx/annotation/Annotation.hxx: 193 in
sdr::annotation::Annotation::GetParentId() const()
_____________________________________________________________________________________________
*** CID 1695424: Concurrent data access violations (MISSING_LOCK)
/include/svx/annotation/Annotation.hxx: 193 in
sdr::annotation::Annotation::GetParentId() const()
187 /// Returns the resolved/done flag. Only meaningful if IsThreaded().
188 bool IsResolved() const { return m_Resolved; }
189 void SetResolved(bool bResolved);
190
191 /// GetId() of the parent annotation in the thread; 0 means "root".
192 /// Only meaningful if IsThreaded().
>>> CID 1695424: Concurrent data access violations (MISSING_LOCK)
>>> Accessing "this->m_ParentId" without holding lock
>>> "comphelper::UnoImplBase.m_aMutex". Elsewhere,
>>> "sdr::annotation::Annotation.m_ParentId" is written to with
>>> "UnoImplBase.m_aMutex" held 2 out of 2 times (1 of these accesses strongly
>>> imply that it is necessary).
193 sal_uInt64 GetParentId() const { return m_ParentId; }
194 void SetParentId(sal_uInt64 nParentId);
195
196 SdrObject* findAnnotationObject();
197
198 virtual rtl::Reference<Annotation> clone(SdrPage* pTargetPage) = 0;
** CID 1695423: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 1249 in
<unnamed>::FindAllToolboxController::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695423: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 1249 in
<unnamed>::FindAllToolboxController::disposing(std::unique_lock<std::mutex> &)()
1243 {
1244 comphelper::unique_unlock aUnlock(rGuard);
1245 SolarMutexGuard aSolarMutexGuard;
1246
SearchToolbarControllersManager::createControllersManager().freeController(m_xFrame,
m_aCommandURL);
1247 }
1248 svt::ToolboxController::disposing(rGuard);
>>> CID 1695423: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
1249 }
1250
1251 // XInitialization
1252 void SAL_CALL FindAllToolboxController::initialize( const
css::uno::Sequence< css::uno::Any >& aArguments )
1253 {
1254 svt::ToolboxController::initialize( aArguments );
** CID 1695422: API usage errors (LOCK)
/svx/source/tbxctrls/tbcontrl.cxx: 3101 in
SvxStyleToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695422: API usage errors (LOCK)
/svx/source/tbxctrls/tbcontrl.cxx: 3101 in
SvxStyleToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
3095 }
3096
3097 // WeakComponentImplHelperBase
3098 void SvxStyleToolBoxControl::disposing(std::unique_lock<std::mutex>&
rGuard)
3099 {
3100 svt::ToolboxController::disposing(rGuard);
>>> CID 1695422: API usage errors (LOCK)
>>> "unique_unlock" unlocks "rGuard" while it is unlocked.
3101 comphelper::unique_unlock aUnlock(rGuard);
3102 SolarMutexGuard aSolarMutexGuard;
3103 m_pImpl->m_xVclBox.disposeAndClear();
3104 m_pImpl->m_xWeldBox.reset();
3105 m_pImpl->m_pBox = nullptr;
3106
** CID 1695421: (LOCK)
/sfx2/source/toolbox/tbxitem.cxx: 155 in
SfxToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
/sfx2/source/toolbox/tbxitem.cxx: 162 in
SfxToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695421: (LOCK)
/sfx2/source/toolbox/tbxitem.cxx: 155 in
SfxToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
149 }
150
151
152 void SfxToolBoxControl::disposing(std::unique_lock<std::mutex>& rGuard)
153 {
154 svt::ToolboxController::disposing(rGuard);
>>> CID 1695421: (LOCK)
>>> "unique_unlock" unlocks "rGuard" while it is unlocked.
155 comphelper::unique_unlock aUnlock(rGuard);
156
157 // Remove and destroy our item window at our toolbox
158 SolarMutexGuard aGuard;
159 VclPtr< vcl::Window > pWindow = pImpl->pBox->GetItemWindow(
pImpl->nTbxId );
160 pImpl->pBox->SetItemWindow( pImpl->nTbxId, nullptr );
/sfx2/source/toolbox/tbxitem.cxx: 162 in
SfxToolBoxControl::disposing(std::unique_lock<std::mutex> &)()
156
157 // Remove and destroy our item window at our toolbox
158 SolarMutexGuard aGuard;
159 VclPtr< vcl::Window > pWindow = pImpl->pBox->GetItemWindow(
pImpl->nTbxId );
160 pImpl->pBox->SetItemWindow( pImpl->nTbxId, nullptr );
161 pWindow.disposeAndClear();
>>> CID 1695421: (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
162 }
163
164
165 void SfxToolBoxControl::RegisterToolBoxControl( SfxModule* pMod, const
SfxTbxCtrlFactory& rFact)
166 {
167 SfxGetpApp()->RegisterToolBoxControl_Impl( pMod, rFact );
** CID 1695420: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 1333 in
<unnamed>::ExitSearchToolboxController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695420: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 1333 in
<unnamed>::ExitSearchToolboxController::disposing(std::unique_lock<std::mutex>
&)()
1327 {
1328 comphelper::unique_unlock aUnlock(rGuard);
1329 SolarMutexGuard aSolarMutexGuard;
1330
SearchToolbarControllersManager::createControllersManager().freeController(m_xFrame,
m_aCommandURL);
1331 }
1332 svt::ToolboxController::disposing(rGuard);
>>> CID 1695420: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
1333 }
1334
1335 // XInitialization
1336 void SAL_CALL ExitSearchToolboxController::initialize( const
css::uno::Sequence< css::uno::Any >& aArguments )
1337 {
1338 svt::ToolboxController::initialize( aArguments );
** CID 1695419: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 858 in
<unnamed>::UpDownSearchToolboxController::disposing(std::unique_lock<std::mutex>
&)()
_____________________________________________________________________________________________
*** CID 1695419: Program hangs (LOCK)
/svx/source/tbxctrls/tbunosearchcontrollers.cxx: 858 in
<unnamed>::UpDownSearchToolboxController::disposing(std::unique_lock<std::mutex>
&)()
852 {
853 comphelper::unique_unlock aUnlock(rGuard);
854 SolarMutexGuard aSolarMutexGuard;
855
SearchToolbarControllersManager::createControllersManager().freeController(m_xFrame,
m_aCommandURL);
856 }
857 svt::ToolboxController::disposing(rGuard);
>>> CID 1695419: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
858 }
859
860 // XInitialization
861 void SAL_CALL UpDownSearchToolboxController::initialize( const
css::uno::Sequence< css::uno::Any >& aArguments )
862 {
863 svt::ToolboxController::initialize( aArguments );
** CID 1695418: Program hangs (LOCK)
/framework/source/uielement/edittoolbarcontroller.cxx: 164 in
framework::EditToolbarController::disposing(std::unique_lock<std::mutex> &)()
_____________________________________________________________________________________________
*** CID 1695418: Program hangs (LOCK)
/framework/source/uielement/edittoolbarcontroller.cxx: 164 in
framework::EditToolbarController::disposing(std::unique_lock<std::mutex> &)()
158 comphelper::unique_unlock aUnlock(rGuard);
159 SolarMutexGuard aSolarMutexGuard;
160 m_xToolbar->SetItemWindow( m_nID, nullptr );
161 m_pEditControl.disposeAndClear();
162 }
163 ComplexToolbarController::disposing(rGuard);
>>> CID 1695418: Program hangs (LOCK)
>>> Returning without unlocking "aUnlock.m_rLock".
164 }
165
166 Sequence<PropertyValue> EditToolbarController::getExecuteArgs(sal_Int16
KeyModifier) const
167 {
168 OUString aSelectedText = m_pEditControl->get_text();
169
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit,
https://scan.coverity.com/projects/libreoffice?tab=overview