summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avmedia/source/gstreamer/gstwindow.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/avmedia/source/gstreamer/gstwindow.cxx b/avmedia/source/gstreamer/gstwindow.cxx
index 948fff012d0c..dace006253fb 100644
--- a/avmedia/source/gstreamer/gstwindow.cxx
+++ b/avmedia/source/gstreamer/gstwindow.cxx
@@ -31,24 +31,6 @@ using namespace ::com::sun::star;
namespace avmedia { namespace gstreamer {
-static ::osl::Mutex& ImplGetOwnStaticMutex()
-{
- static ::osl::Mutex* pMutex = nullptr;
-
- if( pMutex == nullptr )
- {
- ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
-
- if( pMutex == nullptr )
- {
- static ::osl::Mutex aMutex;
- pMutex = &aMutex;
- }
- }
-
- return *pMutex;
-}
-
// Window
@@ -56,7 +38,6 @@ Window::Window() :
meZoomLevel( media::ZoomLevel_NOT_AVAILABLE ),
mnPointerType( awt::SystemPointer::ARROW )
{
- ::osl::MutexGuard aGuard( ImplGetOwnStaticMutex() );
}
Window::~Window()