diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2014-01-19 17:15:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-21 16:26:50 +0000 |
commit | 5a73cceee597b56c568d061ead3a0b3269f2977b (patch) | |
tree | 4f1ca412758484b4f4b365a62339d2d966ef5a34 /forms/source/component/FormComponent.cxx | |
parent | d3410004066070df4cf1944e241e29cd88f1eef3 (diff) |
FORMS : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.
Change-Id: Ida618d6ac383c65f1c09212a7b6aa5ee228677db
Reviewed-on: https://gerrit.libreoffice.org/7534
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms/source/component/FormComponent.cxx')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 44adab41a43f..1dc2937527ac 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -130,13 +130,11 @@ namespace frm //============================================================================= //= base class for form layer controls //============================================================================= -DBG_NAME(frm_OControl) //------------------------------------------------------------------------------ OControl::OControl( const Reference< XComponentContext >& _rxContext, const OUString& _rAggregateService, const sal_Bool _bSetDelegator ) :OComponentHelper(m_aMutex) ,m_xContext( _rxContext ) { - DBG_CTOR(frm_OControl, NULL); // VCL-Control aggregieren // bei Aggregation den Refcount um eins erhoehen da im setDelegator // das Aggregat selbst den Refcount erhoeht @@ -154,7 +152,6 @@ OControl::OControl( const Reference< XComponentContext >& _rxContext, const OUSt //------------------------------------------------------------------------------ OControl::~OControl() { - DBG_DTOR(frm_OControl, NULL); doResetDelegator(); } @@ -379,7 +376,6 @@ sal_Bool SAL_CALL OControl::isTransparent() throw ( RuntimeException) //================================================================== //= OBoundControl //================================================================== -DBG_NAME(frm_OBoundControl); //------------------------------------------------------------------ OBoundControl::OBoundControl( const Reference< XComponentContext >& _rxContext, const OUString& _rAggregateService, const sal_Bool _bSetDelegator ) @@ -388,13 +384,11 @@ OBoundControl::OBoundControl( const Reference< XComponentContext >& _rxContext, ,m_aOriginalFont( EmptyFontDescriptor() ) ,m_nOriginalTextLineColor( 0 ) { - DBG_CTOR(frm_OBoundControl, NULL); } //------------------------------------------------------------------ OBoundControl::~OBoundControl() { - DBG_DTOR(frm_OBoundControl, NULL); } // ----------------------------------------------------------------------------- Sequence< Type> OBoundControl::_getTypes() @@ -479,7 +473,6 @@ void OBoundControl::disposing() //================================================================== //= OControlModel //================================================================== -DBG_NAME(OControlModel) //------------------------------------------------------------------ Sequence<sal_Int8> SAL_CALL OControlModel::getImplementationId() throw(RuntimeException) { @@ -584,7 +577,6 @@ OControlModel::OControlModel( // the native look is ugly .... // #i37342# { - DBG_CTOR(OControlModel, NULL); if (!_rUnoControlModelTypeName.isEmpty()) // the is a model we have to aggregate { increment(m_refCount); @@ -627,7 +619,6 @@ OControlModel::OControlModel( const OControlModel* _pOriginal, const Reference< ,m_nTabIndex( FRM_DEFAULT_TABINDEX ) ,m_nClassId( FormComponentType::CONTROL ) { - DBG_CTOR( OControlModel, NULL ); DBG_ASSERT( _pOriginal, "OControlModel::OControlModel: invalid original!" ); // copy members @@ -669,7 +660,6 @@ OControlModel::~OControlModel() // release the aggregate doResetDelegator( ); - DBG_DTOR(OControlModel, NULL); } //------------------------------------------------------------------ @@ -1218,7 +1208,6 @@ void OControlModel::firePropertyChanges( const Sequence< sal_Int32 >& _rHandles, //================================================================== //= OBoundControlModel //================================================================== -DBG_NAME(frm_OBoundControlModel); //------------------------------------------------------------------ Any SAL_CALL OBoundControlModel::queryAggregation( const Type& _rType ) throw (RuntimeException) { @@ -1271,7 +1260,6 @@ OBoundControlModel::OBoundControlModel( ,m_eControlValueChangeInstigator( eOther ) ,m_aLabelServiceName(FRM_SUN_COMPONENT_FIXEDTEXT) { - DBG_CTOR(frm_OBoundControlModel, NULL); // start property listening at the aggregate implInitAggMultiplexer( ); @@ -1306,7 +1294,6 @@ OBoundControlModel::OBoundControlModel( ,m_bBindingControlsEnable( sal_False ) ,m_eControlValueChangeInstigator( eOther ) { - DBG_CTOR(frm_OBoundControlModel, NULL); // start property listening at the aggregate implInitAggMultiplexer( ); @@ -1346,7 +1333,6 @@ OBoundControlModel::~OBoundControlModel() m_pAggPropMultiplexer = NULL; } - DBG_DTOR(frm_OBoundControlModel, NULL); } //------------------------------------------------------------------ |