summaryrefslogtreecommitdiff
path: root/UnoControls/source/base
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-09-12 10:27:54 +0000
committerMathias Bauer <mba@openoffice.org>2001-09-12 10:27:54 +0000
commit39c75fd93e9034ca8855a29c84bd1c3262cf81e0 (patch)
tree1d5893754a95927b74a8b957c94eb1eab9cf648d /UnoControls/source/base
parente0d497c5b9cf75e9a14f7f1918c6c5b66d28ccbd (diff)
#92075#: execption specification corrected
Diffstat (limited to 'UnoControls/source/base')
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 48ccda4d7519..f3228fc1704f 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: basecontainercontrol.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: as $ $Date: 2000-10-12 10:33:18 $
+ * last change: $Author: mba $ $Date: 2001-09-12 11:27:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -306,13 +306,10 @@ void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw
// XControlContainer
//____________________________________________________________________________________________________________
-void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( IllegalArgumentException, RuntimeException )
+void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( RuntimeException )
{
- // only correct references can add to list!!!
if ( !rControl.is () )
- {
- throw IllegalArgumentException ();
- }
+ return;
// take memory for new item
IMPL_ControlInfo* pNewControl = new IMPL_ControlInfo ;