summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-16 03:18:35 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:33 -0500
commitc17635d5752c010405efba458cfb3a98f5afaf75 (patch)
treef8c521b54c3c65cbcbcad293f63cfa81113f480f /avmedia
parentd3756b8b7318ecae4eaf0552aea3cde940e91490 (diff)
merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff but was essentially redone manually
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/framework/soundhandler.cxx4
-rw-r--r--avmedia/source/framework/soundhandler.hxx4
-rw-r--r--avmedia/source/viewer/mediaevent_impl.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 338bc0855193..d292bd723647 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -330,7 +330,7 @@ void SAL_CALL SoundHandler::dispatchWithNotification(const css::util::URL&
const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw(css::uno::RuntimeException)
{
// SAFE {
- const ::vos::OGuard aLock( m_aLock );
+ const ::osl::MutexGuard aLock( m_aLock );
{
//close streams otherwise on windows we can't reopen the file in the
@@ -449,7 +449,7 @@ void SAL_CALL SoundHandler::dispatch( const css::util::URL&
IMPL_LINK( SoundHandler, implts_PlayerNotify, void*, EMPTYARG )
{
// SAFE {
- ::vos::OClearableGuard aLock( m_aLock );
+ ::osl::ClearableMutexGuard aLock( m_aLock );
if (m_xPlayer.is() && m_xPlayer->isPlaying() && m_xPlayer->getMediaTime() < m_xPlayer->getDuration())
{
diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx
index 55d30536d8ce..54135a93b39d 100644
--- a/avmedia/source/framework/soundhandler.hxx
+++ b/avmedia/source/framework/soundhandler.hxx
@@ -53,7 +53,7 @@
#include <vcl/timer.hxx>
#include <tools/link.hxx>
#include <avmedia/mediawindow.hxx>
-#include <vos/mutex.hxx>
+#include <osl/mutex.hxx>
namespace css = ::com::sun::star;
@@ -74,7 +74,7 @@ namespace avmedia{
struct ThreadHelpBase
{
public:
- mutable ::vos::OMutex m_aLock;
+ mutable ::osl::Mutex m_aLock;
};
/*-************************************************************************************************************//**
diff --git a/avmedia/source/viewer/mediaevent_impl.cxx b/avmedia/source/viewer/mediaevent_impl.cxx
index b9e45c1a9074..0e8dfe0ca295 100644
--- a/avmedia/source/viewer/mediaevent_impl.cxx
+++ b/avmedia/source/viewer/mediaevent_impl.cxx
@@ -29,7 +29,7 @@
#include "mediaevent_impl.hxx"
#include "mediawindow_impl.hxx"
#include <osl/mutex.hxx>
-#include <vos/mutex.hxx>
+#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include <vcl/event.hxx>