diff options
Diffstat (limited to 'canvas/source/directx/dx_textlayout.cxx')
-rw-r--r-- | canvas/source/directx/dx_textlayout.cxx | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx index 84fa7181ef62..e96822a29b3c 100644 --- a/canvas/source/directx/dx_textlayout.cxx +++ b/canvas/source/directx/dx_textlayout.cxx @@ -56,32 +56,32 @@ namespace dxcanvas } // XTextLayout - uno::Sequence< uno::Reference< rendering::XPolyPolygon2D > > SAL_CALL TextLayout::queryTextShapes( ) throw (uno::RuntimeException) + uno::Sequence< uno::Reference< rendering::XPolyPolygon2D > > SAL_CALL TextLayout::queryTextShapes( ) { // TODO return uno::Sequence< uno::Reference< rendering::XPolyPolygon2D > >(); } - uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryInkMeasures( ) throw (uno::RuntimeException) + uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryInkMeasures( ) { // TODO return uno::Sequence< geometry::RealRectangle2D >(); } - uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryMeasures( ) throw (uno::RuntimeException) + uno::Sequence< geometry::RealRectangle2D > SAL_CALL TextLayout::queryMeasures( ) { // TODO return uno::Sequence< geometry::RealRectangle2D >(); } - uno::Sequence< double > SAL_CALL TextLayout::queryLogicalAdvancements( ) throw (uno::RuntimeException) + uno::Sequence< double > SAL_CALL TextLayout::queryLogicalAdvancements( ) { ::osl::MutexGuard aGuard( m_aMutex ); return maLogicalAdvancements; } - void SAL_CALL TextLayout::applyLogicalAdvancements( const uno::Sequence< double >& aAdvancements ) throw (lang::IllegalArgumentException, uno::RuntimeException) + void SAL_CALL TextLayout::applyLogicalAdvancements( const uno::Sequence< double >& aAdvancements ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -94,7 +94,7 @@ namespace dxcanvas maLogicalAdvancements = aAdvancements; } - geometry::RealRectangle2D SAL_CALL TextLayout::queryTextBounds( ) throw (uno::RuntimeException) + geometry::RealRectangle2D SAL_CALL TextLayout::queryTextBounds( ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -112,27 +112,27 @@ namespace dxcanvas return aBounds; } - double SAL_CALL TextLayout::justify( double /*nSize*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException) + double SAL_CALL TextLayout::justify( double /*nSize*/ ) { // TODO return 0.0; } double SAL_CALL TextLayout::combinedJustify( const uno::Sequence< uno::Reference< rendering::XTextLayout > >& /*aNextLayouts*/, - double /*nSize*/ ) throw (lang::IllegalArgumentException, uno::RuntimeException) + double /*nSize*/ ) { // TODO return 0.0; } - rendering::TextHit SAL_CALL TextLayout::getTextHit( const geometry::RealPoint2D& /*aHitPoint*/ ) throw (uno::RuntimeException) + rendering::TextHit SAL_CALL TextLayout::getTextHit( const geometry::RealPoint2D& /*aHitPoint*/ ) { // TODO return rendering::TextHit(); } rendering::Caret SAL_CALL TextLayout::getCaret( sal_Int32 /*nInsertionIndex*/, - sal_Bool /*bExcludeLigatures*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) + sal_Bool /*bExcludeLigatures*/ ) { // TODO return rendering::Caret(); @@ -140,47 +140,47 @@ namespace dxcanvas sal_Int32 SAL_CALL TextLayout::getNextInsertionIndex( sal_Int32 /*nStartIndex*/, sal_Int32 /*nCaretAdvancement*/, - sal_Bool /*bExcludeLigatures*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) + sal_Bool /*bExcludeLigatures*/ ) { // TODO return 0; } uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryVisualHighlighting( sal_Int32 /*nStartIndex*/, - sal_Int32 /*nEndIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) + sal_Int32 /*nEndIndex*/ ) { // TODO return uno::Reference< rendering::XPolyPolygon2D >(); } uno::Reference< rendering::XPolyPolygon2D > SAL_CALL TextLayout::queryLogicalHighlighting( sal_Int32 /*nStartIndex*/, - sal_Int32 /*nEndIndex*/ ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException) + sal_Int32 /*nEndIndex*/ ) { // TODO return uno::Reference< rendering::XPolyPolygon2D >(); } - double SAL_CALL TextLayout::getBaselineOffset( ) throw (uno::RuntimeException) + double SAL_CALL TextLayout::getBaselineOffset( ) { // TODO return 0.0; } - sal_Int8 SAL_CALL TextLayout::getMainTextDirection( ) throw (uno::RuntimeException) + sal_Int8 SAL_CALL TextLayout::getMainTextDirection( ) { ::osl::MutexGuard aGuard( m_aMutex ); return mnTextDirection; } - uno::Reference< rendering::XCanvasFont > SAL_CALL TextLayout::getFont( ) throw (uno::RuntimeException) + uno::Reference< rendering::XCanvasFont > SAL_CALL TextLayout::getFont( ) { ::osl::MutexGuard aGuard( m_aMutex ); return mpFont.get(); } - rendering::StringContext SAL_CALL TextLayout::getText( ) throw (uno::RuntimeException) + rendering::StringContext SAL_CALL TextLayout::getText( ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -213,17 +213,17 @@ namespace dxcanvas return true; } - OUString SAL_CALL TextLayout::getImplementationName() throw( uno::RuntimeException ) + OUString SAL_CALL TextLayout::getImplementationName() { return OUString( "DXCanvas::TextLayout" ); } - sal_Bool SAL_CALL TextLayout::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException ) + sal_Bool SAL_CALL TextLayout::supportsService( const OUString& ServiceName ) { return cppu::supportsService( this, ServiceName ); } - uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() throw( uno::RuntimeException ) + uno::Sequence< OUString > SAL_CALL TextLayout::getSupportedServiceNames() { return { "com.sun.star.rendering.TextLayout" }; } |