diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2016-12-11 13:37:20 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-11 18:55:07 +0000 |
commit | 4282ea67c2e90222f141df8213b06dfed09d4c85 (patch) | |
tree | 99142dd39394a02eb45acbe07faac20cddb9ff54 /canvas/source/directx | |
parent | e22797ac2d0afe4f5d91bdced614bd52d4730a13 (diff) |
canvas: remove useless MutexGuards
Change-Id: I7a6f55ad7f3a26a88263660b97dd8650858890f8
Reviewed-on: https://gerrit.libreoffice.org/31859
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas/source/directx')
-rw-r--r-- | canvas/source/directx/dx_textlayout.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx index 1d07d474d601..84fa7181ef62 100644 --- a/canvas/source/directx/dx_textlayout.cxx +++ b/canvas/source/directx/dx_textlayout.cxx @@ -58,24 +58,18 @@ namespace dxcanvas // XTextLayout uno::Sequence< uno::Reference< rendering::XPolyPolygon2D > > SAL_CALL TextLayout::queryTextShapes( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< uno::Reference< rendering::XPolyPolygon2D > >(); } uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryInkMeasures( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< geometry::RealRectangle2D >(); } uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryMeasures( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Sequence< geometry::RealRectangle2D >(); } @@ -120,8 +114,6 @@ namespace dxcanvas double SAL_CALL TextLayout::justify( double /*nSize*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return 0.0; } @@ -129,16 +121,12 @@ namespace dxcanvas double SAL_CALL TextLayout::combinedJustify( const uno::Sequence< uno::Reference< rendering::XTextLayout > >& /*aNextLayouts*/, double /*nSize*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return 0.0; } rendering::TextHit SAL_CALL TextLayout::getTextHit( const geometry::RealPoint2D& /*aHitPoint*/ ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return rendering::TextHit(); } @@ -146,8 +134,6 @@ namespace dxcanvas rendering::Caret SAL_CALL TextLayout::getCaret( sal_Int32 /*nInsertionIndex*/, sal_Bool /*bExcludeLigatures*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return rendering::Caret(); } @@ -156,8 +142,6 @@ namespace dxcanvas sal_Int32 /*nCaretAdvancement*/, sal_Bool /*bExcludeLigatures*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return 0; } @@ -165,8 +149,6 @@ namespace dxcanvas uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryVisualHighlighting( sal_Int32 /*nStartIndex*/, sal_Int32 /*nEndIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Reference< rendering::XPolyPolygon2D >(); } @@ -174,16 +156,12 @@ namespace dxcanvas uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryLogicalHighlighting( sal_Int32 /*nStartIndex*/, sal_Int32 /*nEndIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return uno::Reference< rendering::XPolyPolygon2D >(); } double SAL_CALL TextLayout::getBaselineOffset( ) throw (uno::RuntimeException) { - ::osl::MutexGuard aGuard( m_aMutex ); - // TODO return 0.0; } |