summaryrefslogtreecommitdiff
path: root/include/unotools/streamhelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-07-30 15:08:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-07-31 11:16:41 +0200
commit429e6e6efbfbc65d36452cbf8b3a25740a1dc8bc (patch)
tree667817fce738fdc0c24dd15476b9596dfada52c3 /include/unotools/streamhelper.hxx
parentd78d98e62255238d4ae6060b2a57ae37dbabb4e6 (diff)
osl::Mutex->std::mutex in OInputStreamHelper
Change-Id: Ia6aa6541474e0e4c190ab805a931d74c8a598baf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119723 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/unotools/streamhelper.hxx')
-rw-r--r--include/unotools/streamhelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/unotools/streamhelper.hxx b/include/unotools/streamhelper.hxx
index 05c5a5b45e84..26c7aa37c2da 100644
--- a/include/unotools/streamhelper.hxx
+++ b/include/unotools/streamhelper.hxx
@@ -23,9 +23,9 @@
#include <unotools/unotoolsdllapi.h>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
-#include <osl/mutex.hxx>
#include <cppuhelper/implbase.hxx>
#include <tools/stream.hxx>
+#include <mutex>
namespace utl
{
@@ -35,7 +35,7 @@ namespace utl
*/
class UNOTOOLS_DLLPUBLIC OInputStreamHelper final : public cppu::WeakImplHelper<css::io::XInputStream, css::io::XSeekable>
{
- ::osl::Mutex m_aMutex;
+ std::mutex m_aMutex;
SvLockBytesRef m_xLockBytes;
sal_uInt64 m_nActPos;
sal_Int32 m_nAvailable; // this is typically the chunk(buffer) size