diff options
Diffstat (limited to 'package/source/zipapi/sha1context.cxx')
-rw-r--r-- | package/source/zipapi/sha1context.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/zipapi/sha1context.cxx b/package/source/zipapi/sha1context.cxx index ab6327234f10..d13441462a3f 100644 --- a/package/source/zipapi/sha1context.cxx +++ b/package/source/zipapi/sha1context.cxx @@ -98,7 +98,7 @@ CorrectSHA1DigestContext::~CorrectSHA1DigestContext() void SAL_CALL CorrectSHA1DigestContext::updateDigest(const uno::Sequence<::sal_Int8>& rData) { - ::osl::MutexGuard aGuard(m_Mutex); + std::lock_guard aGuard(m_Mutex); if (m_bDisposed) throw lang::DisposedException(); @@ -107,7 +107,7 @@ void SAL_CALL CorrectSHA1DigestContext::updateDigest(const uno::Sequence<::sal_I uno::Sequence<::sal_Int8> SAL_CALL CorrectSHA1DigestContext::finalizeDigestAndDispose() { - ::osl::MutexGuard aGuard(m_Mutex); + std::lock_guard aGuard(m_Mutex); if (m_bDisposed) throw lang::DisposedException(); |