summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cppuhelper/source/propshlp.cxx17
-rw-r--r--cppuhelper/source/stdidlclass.cxx8
-rw-r--r--remotebridges/source/bridge/remote_bridge.cxx6
-rw-r--r--remotebridges/source/bridge/remote_bridge.hxx10
-rw-r--r--remotebridges/source/factory/bridgefactory.cxx12
-rw-r--r--remotebridges/source/factory/bridgeimpl.cxx6
-rw-r--r--remotebridges/source/factory/bridgeimpl.hxx10
-rw-r--r--stoc/source/inspect/introspection.cxx8
-rw-r--r--stoc/source/invocation/invocation.cxx8
-rw-r--r--stoc/source/namingservice/namingservice.cxx16
10 files changed, 51 insertions, 50 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index b786dba4cafb..f3f83107f1a6 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: propshlp.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pl $ $Date: 2001-05-10 20:24:59 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:45:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -115,9 +115,9 @@ public:
OPropertySetHelperInfo_Impl( IPropertyArrayHelper & rHelper_ ) SAL_THROW( () );
// XPropertySetInfo-Methoden
- virtual Sequence< Property > SAL_CALL getProperties(void);
- virtual Property SAL_CALL getPropertyByName(const OUString& PropertyName);
- virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& PropertyName);
+ virtual Sequence< Property > SAL_CALL getProperties(void) throw(::com::sun::star::uno::RuntimeException);
+ virtual Property SAL_CALL getPropertyByName(const OUString& PropertyName) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasPropertyByName(const OUString& PropertyName) throw(::com::sun::star::uno::RuntimeException);
};
@@ -134,7 +134,8 @@ OPropertySetHelperInfo_Impl::OPropertySetHelperInfo_Impl(
/**
* Return the sequence of properties, which are provided throug the constructor.
*/
-Sequence< Property > OPropertySetHelperInfo_Impl::getProperties(void)
+Sequence< Property > OPropertySetHelperInfo_Impl::getProperties(void) throw(::com::sun::star::uno::RuntimeException)
+
{
return aInfos;
}
@@ -142,7 +143,7 @@ Sequence< Property > OPropertySetHelperInfo_Impl::getProperties(void)
/**
* Return the sequence of properties, which are provided throug the constructor.
*/
-Property OPropertySetHelperInfo_Impl::getPropertyByName( const OUString & PropertyName )
+Property OPropertySetHelperInfo_Impl::getPropertyByName( const OUString & PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException)
{
Property * pR;
pR = (Property *)bsearch( &PropertyName, aInfos.getConstArray(), aInfos.getLength(),
@@ -158,7 +159,7 @@ Property OPropertySetHelperInfo_Impl::getPropertyByName( const OUString & Proper
/**
* Return the sequence of properties, which are provided throug the constructor.
*/
-sal_Bool OPropertySetHelperInfo_Impl::hasPropertyByName( const OUString & PropertyName )
+sal_Bool OPropertySetHelperInfo_Impl::hasPropertyByName( const OUString & PropertyName ) throw(::com::sun::star::uno::RuntimeException)
{
Property * pR;
pR = (Property *)bsearch( &PropertyName, aInfos.getConstArray(), aInfos.getLength(),
diff --git a/cppuhelper/source/stdidlclass.cxx b/cppuhelper/source/stdidlclass.cxx
index ea056826a0e5..16a293ff38b6 100644
--- a/cppuhelper/source/stdidlclass.cxx
+++ b/cppuhelper/source/stdidlclass.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: stdidlclass.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dbo $ $Date: 2001-03-09 12:15:28 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:45:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -94,8 +94,8 @@ public:
Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType )
throw(::com::sun::star::uno::RuntimeException);
- void SAL_CALL acquire() { OWeakObject::acquire(); }
- void SAL_CALL release() { OWeakObject::release(); }
+ void SAL_CALL acquire() throw() { OWeakObject::acquire(); }
+ void SAL_CALL release() throw() { OWeakObject::release(); }
// XIdlClassProvider
Sequence< Reference < XIdlClass > > SAL_CALL getIdlClasses(void)
diff --git a/remotebridges/source/bridge/remote_bridge.cxx b/remotebridges/source/bridge/remote_bridge.cxx
index 8d3dfb06b1a7..8406803a5456 100644
--- a/remotebridges/source/bridge/remote_bridge.cxx
+++ b/remotebridges/source/bridge/remote_bridge.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: remote_bridge.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:39:16 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:50:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -118,7 +118,7 @@ namespace remotebridges_bridge
}
}
- Any ORemoteBridge::queryInterface( const Type & aType )
+ Any ORemoteBridge::queryInterface( const Type & aType ) throw(RuntimeException)
{
Any a = ::cppu::queryInterface(
aType ,
diff --git a/remotebridges/source/bridge/remote_bridge.hxx b/remotebridges/source/bridge/remote_bridge.hxx
index b33b04831ec4..e39482d636e8 100644
--- a/remotebridges/source/bridge/remote_bridge.hxx
+++ b/remotebridges/source/bridge/remote_bridge.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: remote_bridge.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:39:16 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:50:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,11 +102,11 @@ namespace remotebridges_bridge
// XInterface
public:
::com::sun::star::uno::Any SAL_CALL
- queryInterface( const ::com::sun::star::uno::Type & aType );
+ queryInterface( const ::com::sun::star::uno::Type & aType ) throw(::com::sun::star::uno::RuntimeException);
- void SAL_CALL acquire()
+ void SAL_CALL acquire() throw()
{ OComponentHelper::acquire(); }
- void SAL_CALL release()
+ void SAL_CALL release() throw()
{ OComponentHelper::release(); }
public:
diff --git a/remotebridges/source/factory/bridgefactory.cxx b/remotebridges/source/factory/bridgefactory.cxx
index f17f62bfc32d..e0659aa2da16 100644
--- a/remotebridges/source/factory/bridgefactory.cxx
+++ b/remotebridges/source/factory/bridgefactory.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bridgefactory.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:39:16 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:51:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -144,11 +144,11 @@ namespace remotebridges_factory
public: // XInterface
::com::sun::star::uno::Any SAL_CALL
- queryInterface( const ::com::sun::star::uno::Type & aType );
+ queryInterface( const ::com::sun::star::uno::Type & aType ) throw(RuntimeException);
- void SAL_CALL acquire()
+ void SAL_CALL acquire() throw()
{ OComponentHelper::acquire(); }
- void SAL_CALL release()
+ void SAL_CALL release() throw()
{ OComponentHelper::release(); }
public:
@@ -279,7 +279,7 @@ namespace remotebridges_factory
return sService;
}
- Any OBridgeFactory::queryInterface( const Type &aType )
+ Any OBridgeFactory::queryInterface( const Type &aType ) throw(RuntimeException)
{
Any a = ::cppu::queryInterface(
aType ,
diff --git a/remotebridges/source/factory/bridgeimpl.cxx b/remotebridges/source/factory/bridgeimpl.cxx
index 7f9c913b7bde..44e14f7ae141 100644
--- a/remotebridges/source/factory/bridgeimpl.cxx
+++ b/remotebridges/source/factory/bridgeimpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bridgeimpl.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:39:16 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:51:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -94,7 +94,7 @@ namespace remotebridges_factory {
g_moduleCount.modCnt.release( &g_moduleCount.modCnt );
}
- ::com::sun::star::uno::Any OBridge::queryInterface( const ::com::sun::star::uno::Type & aType )
+ ::com::sun::star::uno::Any OBridge::queryInterface( const ::com::sun::star::uno::Type & aType ) throw(RuntimeException)
{
Any a = ::cppu::queryInterface(
aType ,
diff --git a/remotebridges/source/factory/bridgeimpl.hxx b/remotebridges/source/factory/bridgeimpl.hxx
index 51c99a36e2f1..7ca75a7e9bfb 100644
--- a/remotebridges/source/factory/bridgeimpl.hxx
+++ b/remotebridges/source/factory/bridgeimpl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bridgeimpl.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:39:16 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:51:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -99,11 +99,11 @@ namespace remotebridges_factory {
// XInterface
public:
::com::sun::star::uno::Any SAL_CALL
- queryInterface( const ::com::sun::star::uno::Type & aType );
+ queryInterface( const ::com::sun::star::uno::Type & aType ) throw(com::sun::star::uno::RuntimeException);
- void SAL_CALL acquire()
+ void SAL_CALL acquire() throw()
{ OComponentHelper::acquire(); }
- void SAL_CALL release()
+ void SAL_CALL release() throw()
{ OComponentHelper::release(); }
public:
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 92ade103c323..96331b72b58e 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: introspection.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: pl $ $Date: 2001-05-11 11:48:13 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:48:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -929,7 +929,7 @@ public:
throw( IllegalTypeException, RuntimeException );
// Methoden von XMaterialHolder
- virtual Any SAL_CALL getMaterial(void);
+ virtual Any SAL_CALL getMaterial(void) throw(RuntimeException);
// Methoden von XExactName
virtual OUString SAL_CALL getExactName( const OUString& rApproximateName ) throw( RuntimeException );
@@ -1451,7 +1451,7 @@ Reference<XInterface> SAL_CALL ImplIntrospectionAccess::queryAdapter( const Type
}
// Methoden von XMaterialHolder
-Any ImplIntrospectionAccess::getMaterial(void)
+Any ImplIntrospectionAccess::getMaterial(void) throw(RuntimeException)
{
return maInspectedObject;
}
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index a6433de36578..463c7731ce22 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: invocation.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: dbo $ $Date: 2001-07-27 10:29:52 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:48:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -194,7 +194,7 @@ public:
throw( RuntimeException);
// Methoden von XMaterialHolder
- virtual Any SAL_CALL getMaterial(void);
+ virtual Any SAL_CALL getMaterial(void) throw(RuntimeException);
// ? XTool
virtual void SAL_CALL setMaterial( const Any& rMaterial );
@@ -412,7 +412,7 @@ Any SAL_CALL Invocation_Impl::queryInterface( const Type & aType )
//--------------------------------------------------------------------------------------------------
-Any Invocation_Impl::getMaterial(void)
+Any Invocation_Impl::getMaterial(void) throw(RuntimeException)
{
// AB, 12.2.1999 Sicherstellen, dass das Material wenn moeglich
// aus der direkten Invocation bzw. von der Introspection geholt
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx
index e41342bf5eb2..4a5fea2544b1 100644
--- a/stoc/source/namingservice/namingservice.cxx
+++ b/stoc/source/namingservice/namingservice.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: namingservice.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jbu $ $Date: 2001-06-22 16:20:59 $
+ * last change: $Author: hr $ $Date: 2001-09-11 13:49:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -187,9 +187,9 @@ public:
return Sequence< OUString >( &aStr, 1 );
}
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getRegisteredObject( const ::rtl::OUString& Name );
- virtual void SAL_CALL registerObject( const ::rtl::OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Object );
- virtual void SAL_CALL revokeObject( const ::rtl::OUString& Name );
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getRegisteredObject( const ::rtl::OUString& Name ) throw(Exception, RuntimeException);
+ virtual void SAL_CALL registerObject( const ::rtl::OUString& Name, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Object ) throw(Exception, RuntimeException);
+ virtual void SAL_CALL revokeObject( const ::rtl::OUString& Name ) throw(Exception, RuntimeException);
};
//==================================================================================================
@@ -239,7 +239,7 @@ Sequence< OUString > NamingService_Impl::getSupportedServiceNames()
}
// XServiceInfo
-Reference< XInterface > NamingService_Impl::getRegisteredObject( const OUString& Name )
+Reference< XInterface > NamingService_Impl::getRegisteredObject( const OUString& Name ) throw(Exception, RuntimeException)
{
Guard< Mutex > aGuard( aMutex );
Reference< XInterface > xRet;
@@ -250,14 +250,14 @@ Reference< XInterface > NamingService_Impl::getRegisteredObject( const OUString&
}
// XServiceInfo
-void NamingService_Impl::registerObject( const OUString& Name, const Reference< XInterface >& Object )
+void NamingService_Impl::registerObject( const OUString& Name, const Reference< XInterface >& Object ) throw(Exception, RuntimeException)
{
Guard< Mutex > aGuard( aMutex );
aMap[ Name ] = Object;
}
// XServiceInfo
-void NamingService_Impl::revokeObject( const OUString& Name )
+void NamingService_Impl::revokeObject( const OUString& Name ) throw(Exception, RuntimeException)
{
Guard< Mutex > aGuard( aMutex );
aMap.erase( Name );