summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-24 17:17:54 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-25 23:41:46 +0100
commit356987246375b102b17938414cff676547a6e0ba (patch)
tree23c39056a764c1cea71b93c416b86ca98adb53d1 /forms
parent09c19c6ddada306d1b23e312838e964325105ad5 (diff)
Remove FS_PRIV_DEBUG directive.
Diffstat (limited to 'forms')
-rw-r--r--forms/source/misc/InterfaceContainer.cxx12
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();
}