summaryrefslogtreecommitdiff
path: root/svtools/source/config/itemholder2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/config/itemholder2.cxx')
-rw-r--r--svtools/source/config/itemholder2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/config/itemholder2.cxx b/svtools/source/config/itemholder2.cxx
index c6b1034618ba..cbd78826d7c0 100644
--- a/svtools/source/config/itemholder2.cxx
+++ b/svtools/source/config/itemholder2.cxx
@@ -90,7 +90,7 @@ void SAL_CALL ItemHolder2::disposing(const css::lang::EventObject&)
void ItemHolder2::impl_addItem(EItem eItem)
{
- ::osl::ResettableMutexGuard aLock(m_aLock);
+ osl::MutexGuard aLock(m_aLock);
for ( auto const & rInfo : m_lItems )
{
@@ -110,7 +110,7 @@ void ItemHolder2::impl_releaseAllItems()
{
std::vector<TItemInfo> items;
{
- ::osl::ResettableMutexGuard aLock(m_aLock);
+ osl::MutexGuard aLock(m_aLock);
items.swap(m_lItems);
}