diff options
Diffstat (limited to 'toolkit/source/awt/vclxfont.cxx')
-rw-r--r-- | toolkit/source/awt/vclxfont.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/toolkit/source/awt/vclxfont.cxx b/toolkit/source/awt/vclxfont.cxx index 1df5b56ee233..a26739c1bb49 100644 --- a/toolkit/source/awt/vclxfont.cxx +++ b/toolkit/source/awt/vclxfont.cxx @@ -69,7 +69,7 @@ bool VCLXFont::ImplAssertValidFontMetric() // css::uno::XInterface -css::uno::Any VCLXFont::queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) +css::uno::Any VCLXFont::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< css::awt::XFont* >(this)), @@ -88,7 +88,7 @@ IMPL_XTYPEPROVIDER_START( VCLXFont ) IMPL_XTYPEPROVIDER_END -css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) throw(css::uno::RuntimeException, std::exception) +css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -96,7 +96,7 @@ css::awt::FontDescriptor VCLXFont::getFontDescriptor( ) throw(css::uno::Runtime } -css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) throw(css::uno::RuntimeException, std::exception) +css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -106,7 +106,7 @@ css::awt::SimpleFontMetric VCLXFont::getFontMetric( ) throw(css::uno::RuntimeEx return aFM; } -sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) throw(css::uno::RuntimeException, std::exception) +sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -125,7 +125,7 @@ sal_Int16 VCLXFont::getCharWidth( sal_Unicode c ) throw(css::uno::RuntimeExcepti return nRet; } -css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal_Unicode nLast ) throw(css::uno::RuntimeException, std::exception) +css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal_Unicode nLast ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -150,7 +150,7 @@ css::uno::Sequence< sal_Int16 > VCLXFont::getCharWidths( sal_Unicode nFirst, sal return aSeq; } -sal_Int32 VCLXFont::getStringWidth( const OUString& str ) throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXFont::getStringWidth( const OUString& str ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -166,7 +166,7 @@ sal_Int32 VCLXFont::getStringWidth( const OUString& str ) throw(css::uno::Runtim return nRet; } -sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence< sal_Int32 >& rDXArray ) throw(css::uno::RuntimeException, std::exception) +sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence< sal_Int32 >& rDXArray ) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -188,14 +188,13 @@ sal_Int32 VCLXFont::getStringWidthArray( const OUString& str, css::uno::Sequence return nRet; } -void VCLXFont::getKernPairs( css::uno::Sequence< sal_Unicode >& /*rnChars1*/, css::uno::Sequence< sal_Unicode >& /*rnChars2*/, css::uno::Sequence< sal_Int16 >& /*rnKerns*/ ) throw(css::uno::RuntimeException, std::exception) +void VCLXFont::getKernPairs( css::uno::Sequence< sal_Unicode >& /*rnChars1*/, css::uno::Sequence< sal_Unicode >& /*rnChars2*/, css::uno::Sequence< sal_Int16 >& /*rnKerns*/ ) { // NOTE: this empty method is just used for keeping the related UNO-API stable } // css::awt::XFont2 sal_Bool VCLXFont::hasGlyphs( const OUString& aText ) - throw(css::uno::RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); SolarMutexGuard aSolarGuard; |