summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-12-11 22:15:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 09:16:09 +0000
commitd6f2dd831a37ce214c05ed558c4fef2b76b9b121 (patch)
tree8e523b0b3d27d126f1dfd526c3879dbfc7273116 /canvas
parent221a3413af1b0f86a78c141fb2ea8fe969911dfb (diff)
remove useless Mutex guards
Change-Id: Ib1edb681b47ce98e2e810d15111932002786aa51 Reviewed-on: https://gerrit.libreoffice.org/31875 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_canvasfont.cxx6
-rw-r--r--canvas/source/tools/parametricpolypolygon.cxx6
2 files changed, 0 insertions, 12 deletions
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 >();
}