diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-20 18:50:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-04 07:06:52 +0100 |
commit | bc613dc5dba6a9fc2ad2bdb3fbd160ba7615788f (patch) | |
tree | fda13f8a65e2745ebab07102676cb3bc160d62eb /sax | |
parent | 300308480c0d4d660a2899a26c08275b87c2c303 (diff) |
osl::Mutex->std::mutex in FastSaxParserImpl
Change-Id: I5f93c3d1373f8d5a95d8069b1f8381c45e11a875
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127916
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 97435e2219ea..cc7dd91b82ab 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -286,7 +286,7 @@ private: void DefineNamespace( const OString& rPrefix, const OUString& namespaceURL ); private: - osl::Mutex maMutex; ///< Protecting whole parseStream() execution + std::mutex maMutex; ///< Protecting whole parseStream() execution ::rtl::Reference< FastLocatorImpl > mxDocumentLocator; NamespaceMap maNamespaceMap; @@ -825,7 +825,7 @@ void FastSaxParserImpl::parseStream(const InputSource& rStructSource) xmlInitParser(); // Only one text at one time - MutexGuard guard( maMutex ); + std::unique_lock guard( maMutex ); pushEntity(maData, rStructSource); Entity& rEntity = getEntity(); |