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>
This commit is contained in:
Noel Grandin
2022-01-04 07:06:52 +01:00
committed by Noel Grandin
parent 300308480c
commit bc613dc5db
+2 -2
View File
@@ -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();