diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/misc/InterfaceContainer.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index 4d481274a681..7374370c0b2c 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -805,18 +805,6 @@ void OInterfaceContainer::approveNewElement( const Reference< XPropertySet >& _r Reference< XChild > xChild( _rxObject, UNO_QUERY ); if ( !xChild.is() || xChild->getParent().is() ) { -#ifdef FS_PRIV_DEBUG - ::rtl::OUString sChildName, sParentName; - Reference< XNamed > xNamed( xChild, UNO_QUERY ); - if ( xNamed.is() ) - sChildName = xNamed->getName(); - if ( xChild.is() ) - { - xNamed = xNamed.query( xChild->getParent() ); - if ( xNamed.is() ) - sParentName = xNamed->getName(); - } -#endif lcl_throwIllegalArgumentException(); } |