summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-02-23 15:31:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-24 08:10:25 +0000
commite0f05df76177174fce1d662b211b3047237debae (patch)
tree7f0ec50e1bf6b0657406fa9bfd09d313507eed02 /sd/source/ui/tools
parentb4b3f281443fc64b420156eed11af773f80a4e2a (diff)
BaseMutex->std::mutex in sd::tools::PropertySet
Change-Id: Iab6d9f3cb1c198f9f3ffd8ac556985cafb821787 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147587 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r--sd/source/ui/tools/PropertySet.cxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/sd/source/ui/tools/PropertySet.cxx b/sd/source/ui/tools/PropertySet.cxx
index 057b7dd96ce3..c50a617de1b0 100644
--- a/sd/source/ui/tools/PropertySet.cxx
+++ b/sd/source/ui/tools/PropertySet.cxx
@@ -26,8 +26,7 @@ using namespace ::com::sun::star::uno;
namespace sd::tools {
PropertySet::PropertySet()
- : PropertySetInterfaceBase(m_aMutex),
- mpChangeListeners(new ChangeListenerContainer)
+ : mpChangeListeners(new ChangeListenerContainer)
{
}
@@ -35,10 +34,6 @@ PropertySet::~PropertySet()
{
}
-void SAL_CALL PropertySet::disposing()
-{
-}
-
//----- XPropertySet ----------------------------------------------------------
Reference<beans::XPropertySetInfo> SAL_CALL PropertySet::getPropertySetInfo()
@@ -83,7 +78,7 @@ void SAL_CALL PropertySet::addPropertyChangeListener (
if ( ! rxListener.is())
throw lang::IllegalArgumentException();
- if (rBHelper.bDisposed || rBHelper.bInDispose)
+ if (m_bDisposed)
return;
mpChangeListeners->emplace(rsPropertyName, rxListener);
@@ -145,7 +140,7 @@ void PropertySet::CallListeners (
void PropertySet::ThrowIfDisposed()
{
- if (rBHelper.bDisposed || rBHelper.bInDispose)
+ if (m_bDisposed)
{
throw lang::DisposedException (
"PropertySet object has already been disposed",