summaryrefslogtreecommitdiff
path: root/avmedia/source/framework/soundhandler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/framework/soundhandler.hxx')
-rw-r--r--avmedia/source/framework/soundhandler.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/avmedia/source/framework/soundhandler.hxx b/avmedia/source/framework/soundhandler.hxx
index 0cc3de24e83b..256b59b19ccf 100644
--- a/avmedia/source/framework/soundhandler.hxx
+++ b/avmedia/source/framework/soundhandler.hxx
@@ -36,17 +36,12 @@
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
#include <tools/link.hxx>
+#include <toolkit/helper/mutexhelper.hxx>
#include <avmedia/mediawindow.hxx>
#include <osl/mutex.hxx>
namespace avmedia{
-struct ThreadHelpBase
-{
- public:
- mutable ::osl::Mutex m_aLock;
-};
-
/*-************************************************************************************************************
@short handler to detect and play sounds ("wav" and "au" only!)
@descr Register this implementation as a content handler to detect and/or play wav- and au-sounds.
@@ -65,7 +60,7 @@ class SoundHandler : // interfaces
, public css::document::XExtendedFilterDetection
// baseclasses
// Order is necessary for right initialization!
- , private ThreadHelpBase
+ , private MutexHelper
, public ::cppu::OWeakObject
{
// public methods