From d6f2dd831a37ce214c05ed558c4fef2b76b9b121 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 11 Dec 2016 22:15:14 +0200 Subject: remove useless Mutex guards Change-Id: Ib1edb681b47ce98e2e810d15111932002786aa51 Reviewed-on: https://gerrit.libreoffice.org/31875 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- canvas/source/directx/dx_canvasfont.cxx | 6 ------ canvas/source/tools/parametricpolypolygon.cxx | 6 ------ 2 files changed, 12 deletions(-) (limited to 'canvas/source') diff --git a/canvas/source/directx/dx_canvasfont.cxx b/canvas/source/directx/dx_canvasfont.cxx index 8b73195f437c..d3274b03560c 100644 --- a/canvas/source/directx/dx_canvasfont.cxx +++ b/canvas/source/directx/dx_canvasfont.cxx @@ -93,16 +93,12 @@ namespace dxcanvas uno::Sequence< double > SAL_CALL CanvasFont::getAvailableSizes( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< double >(); } uno::Sequence< beans::PropertyValue > SAL_CALL CanvasFont::getExtraFontProperties( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< beans::PropertyValue >(); } @@ -116,8 +112,6 @@ namespace dxcanvas rendering::FontMetrics SAL_CALL CanvasFont::getFontMetrics( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return rendering::FontMetrics(); } diff --git a/canvas/source/tools/parametricpolypolygon.cxx b/canvas/source/tools/parametricpolypolygon.cxx index 8e8c980bc8bd..05697d8e2a8d 100644 --- a/canvas/source/tools/parametricpolypolygon.cxx +++ b/canvas/source/tools/parametricpolypolygon.cxx @@ -166,24 +166,18 @@ namespace canvas uno::Reference< rendering::XPolyPolygon2D > SAL_CALL ParametricPolyPolygon::getOutline( double /*t*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): outline NYI return uno::Reference< rendering::XPolyPolygon2D >(); } uno::Sequence< double > SAL_CALL ParametricPolyPolygon::getColor( double /*t*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): color NYI return uno::Sequence< double >(); } uno::Sequence< double > SAL_CALL ParametricPolyPolygon::getPointColor( const geometry::RealPoint2D& /*point*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO(F1): point color NYI return uno::Sequence< double >(); } -- cgit