summaryrefslogtreecommitdiff
path: root/bridges/test/testcomp.cxx
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2002-04-18 09:09:22 +0000
committerJörg Budischewski <jbu@openoffice.org>2002-04-18 09:09:22 +0000
commit23bfd2e2b2468370bcbc29ef8cbe0007a4b398b3 (patch)
tree2dbdd0cf7b08a397e7d499d1110d6c2f8a733b81 /bridges/test/testcomp.cxx
parent06e7790ced21e48a8515735216cbd994660a5454 (diff)
now passes gcc3 compiler
Diffstat (limited to 'bridges/test/testcomp.cxx')
-rw-r--r--bridges/test/testcomp.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx
index 6bafff5584c8..356618242543 100644
--- a/bridges/test/testcomp.cxx
+++ b/bridges/test/testcomp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: testcomp.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: dbo $ $Date: 2001-11-26 17:01:44 $
+ * last change: $Author: jbu $ $Date: 2002-04-18 10:09:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,7 +125,7 @@ void parseCommandLine( char *argv[] ,
}
}
-Any OInstanceProvider::queryInterface( const Type & aType )
+Any OInstanceProvider::queryInterface( const Type & aType ) throw ( RuntimeException )
{
Any a = ::cppu::queryInterface( aType ,
SAL_STATIC_CAST( XInstanceProvider * , this ) );
@@ -192,9 +192,9 @@ public:
}
return aRet;
}
- virtual void SAL_CALL acquire() throw(::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL acquire() throw()
{ osl_incrementInterlockedCount( &_nRef ); }
- virtual void SAL_CALL release() throw(::com::sun::star::uno::RuntimeException)
+ virtual void SAL_CALL release() throw()
{ if (! osl_decrementInterlockedCount( &_nRef )) delete this; }
// XServiceInfo
@@ -325,7 +325,7 @@ Sequence< OUString > ServiceImpl::getSupportedServiceNames()
*
*****************/
-Any OCallMe::queryInterface( const Type & aType )
+Any OCallMe::queryInterface( const Type & aType ) throw ( RuntimeException )
{
Any a = ::cppu::queryInterface( aType,
SAL_STATIC_CAST( XCallMe * , this ) );
@@ -421,7 +421,7 @@ void OCallMe::callAgain( const Reference< ::test::XCallMe >& callAgain,
* OInterfaceTest
*
*******************/
-Any OInterfaceTest::queryInterface( const Type & aType )
+Any OInterfaceTest::queryInterface( const Type & aType ) throw ( RuntimeException )
{
Any a = ::cppu::queryInterface( aType,
SAL_STATIC_CAST( XInterfaceTest * , this ) );
@@ -473,7 +473,7 @@ void OInterfaceTest::call()
}
-Any OTestFactory::queryInterface( const Type & aType )
+Any OTestFactory::queryInterface( const Type & aType ) throw ( RuntimeException )
{
Any a = ::cppu::queryInterface( aType,
SAL_STATIC_CAST( XTestFactory * , this ) );