diff options
Diffstat (limited to 'vcl/source/components')
-rw-r--r-- | vcl/source/components/dtranscomp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index dd1bf719ffa6..b443ca86595a 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -169,14 +169,14 @@ sal_Int8 GenericClipboard::getRenderingCapabilities() void GenericClipboard::addClipboardListener( const Reference< datatransfer::clipboard::XClipboardListener >& listener ) { - osl::ClearableMutexGuard aGuard( m_aMutex ); + osl::MutexGuard aGuard(m_aMutex); m_aListeners.push_back( listener ); } void GenericClipboard::removeClipboardListener( const Reference< datatransfer::clipboard::XClipboardListener >& listener ) { - osl::ClearableMutexGuard aGuard( m_aMutex ); + osl::MutexGuard aGuard(m_aMutex); m_aListeners.erase(std::remove(m_aListeners.begin(), m_aListeners.end(), listener), m_aListeners.end()); } |