From 356987246375b102b17938414cff676547a6e0ba Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Mon, 24 Jan 2011 17:17:54 +0100 Subject: Remove FS_PRIV_DEBUG directive. --- cui/source/dialogs/commonlingui.cxx | 5 ----- forms/source/misc/InterfaceContainer.cxx | 12 ------------ 2 files changed, 17 deletions(-) diff --git a/cui/source/dialogs/commonlingui.cxx b/cui/source/dialogs/commonlingui.cxx index 008338956289..58b0bc163e0b 100644 --- a/cui/source/dialogs/commonlingui.cxx +++ b/cui/source/dialogs/commonlingui.cxx @@ -106,11 +106,6 @@ SvxCommonLinguisticControl::SvxCommonLinguisticControl( ModalDialog* _pParent ) ,aAuditBox ( this, CUI_RES( GB_AUDIT ) ) { FreeResource(); - -#ifdef FS_PRIV_DEBUG - SetType( WINDOW_TABPAGE ); -#endif - SetPosSizePixel( Point( 0, 0 ), _pParent->GetOutputSizePixel() ); Show(); } 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(); } -- cgit v1.2.3