summaryrefslogtreecommitdiff
path: root/unotools/inc/unotools/ucblockbytes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/inc/unotools/ucblockbytes.hxx')
-rw-r--r--unotools/inc/unotools/ucblockbytes.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/inc/unotools/ucblockbytes.hxx b/unotools/inc/unotools/ucblockbytes.hxx
index f06f9d9522e5..a7090d5efebc 100644
--- a/unotools/inc/unotools/ucblockbytes.hxx
+++ b/unotools/inc/unotools/ucblockbytes.hxx
@@ -36,7 +36,7 @@
#include <osl/thread.hxx>
#include <osl/conditn.hxx>
-#include <vos/mutex.hxx>
+#include <osl/mutex.hxx>
#include <tools/stream.hxx>
#include <tools/link.hxx>
#include <tools/errcode.hxx>
@@ -107,7 +107,7 @@ class UNOTOOLS_DLLPUBLIC UcbLockBytes : public virtual SvLockBytes
{
osl::Condition m_aInitialized;
osl::Condition m_aTerminated;
- vos::OMutex m_aMutex;
+ osl::Mutex m_aMutex;
String m_aContentType;
String m_aRealURL;
@@ -184,25 +184,25 @@ public:
NS_UNO::Reference < NS_IO::XInputStream > getInputStream_Impl() const
{
- vos::OGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
+ osl::MutexGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
return m_xInputStream;
}
NS_UNO::Reference < NS_IO::XOutputStream > getOutputStream_Impl() const
{
- vos::OGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
+ osl::MutexGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
return m_xOutputStream;
}
NS_UNO::Reference < NS_IO::XSeekable > getSeekable_Impl() const
{
- vos::OGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
+ osl::MutexGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
return m_xSeekable;
}
sal_Bool hasInputStream_Impl() const
{
- vos::OGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
+ osl::MutexGuard aGuard( SAL_CONST_CAST(UcbLockBytes*, this)->m_aMutex );
return m_xInputStream.is();
}