diff options
Diffstat (limited to 'canvas/source/vcl/canvasfont.cxx')
-rw-r--r-- | canvas/source/vcl/canvasfont.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/canvas/source/vcl/canvasfont.cxx b/canvas/source/vcl/canvasfont.cxx index da901cce4d97..94798710f829 100644 --- a/canvas/source/vcl/canvasfont.cxx +++ b/canvas/source/vcl/canvasfont.cxx @@ -92,7 +92,7 @@ namespace vclcanvas mpRefDevice.clear(); } - uno::Reference< rendering::XTextLayout > SAL_CALL CanvasFont::createTextLayout( const rendering::StringContext& aText, sal_Int8 nDirection, sal_Int64 nRandomSeed ) throw (uno::RuntimeException, std::exception) + uno::Reference< rendering::XTextLayout > SAL_CALL CanvasFont::createTextLayout( const rendering::StringContext& aText, sal_Int8 nDirection, sal_Int64 nRandomSeed ) { SolarMutexGuard aGuard; @@ -107,14 +107,14 @@ namespace vclcanvas mpOutDevProvider); } - rendering::FontRequest SAL_CALL CanvasFont::getFontRequest( ) throw (uno::RuntimeException, std::exception) + rendering::FontRequest SAL_CALL CanvasFont::getFontRequest( ) { SolarMutexGuard aGuard; return maFontRequest; } - rendering::FontMetrics SAL_CALL CanvasFont::getFontMetrics( ) throw (uno::RuntimeException, std::exception) + rendering::FontMetrics SAL_CALL CanvasFont::getFontMetrics( ) { SolarMutexGuard aGuard; @@ -133,29 +133,29 @@ namespace vclcanvas aMetric.GetAscent() / 2.0); } - uno::Sequence< double > SAL_CALL CanvasFont::getAvailableSizes( ) throw (uno::RuntimeException, std::exception) + uno::Sequence< double > SAL_CALL CanvasFont::getAvailableSizes( ) { // TODO(F1) return uno::Sequence< double >(); } - uno::Sequence< beans::PropertyValue > SAL_CALL CanvasFont::getExtraFontProperties( ) throw (uno::RuntimeException, std::exception) + uno::Sequence< beans::PropertyValue > SAL_CALL CanvasFont::getExtraFontProperties( ) { // TODO(F1) return uno::Sequence< beans::PropertyValue >(); } - OUString SAL_CALL CanvasFont::getImplementationName() throw( uno::RuntimeException, std::exception ) + OUString SAL_CALL CanvasFont::getImplementationName() { return OUString( "VCLCanvas::CanvasFont" ); } - sal_Bool SAL_CALL CanvasFont::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException, std::exception ) + sal_Bool SAL_CALL CanvasFont::supportsService( const OUString& ServiceName ) { return cppu::supportsService( this, ServiceName ); } - uno::Sequence< OUString > SAL_CALL CanvasFont::getSupportedServiceNames() throw( uno::RuntimeException, std::exception ) + uno::Sequence< OUString > SAL_CALL CanvasFont::getSupportedServiceNames() { return { "com.sun.star.rendering.CanvasFont" }; } |