From 5b2ba8ed5d6406492205b08ef25fe640253f66a1 Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sun, 19 Jan 2014 15:51:52 +0100 Subject: DBACCESS : Remove usage of DBG_CTOR and DBG_DTOR. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Valgrind is capable of detecting such bugs. No need for extra macros. Conflicts: dbaccess/source/ui/dlg/tablespage.cxx Change-Id: I25ea9174a042050efdb371246417ee7f2edae997 Reviewed-on: https://gerrit.libreoffice.org/7532 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- dbaccess/source/ui/relationdesign/RTableConnectionData.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'dbaccess/source/ui/relationdesign/RTableConnectionData.cxx') diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx index fce8d4afe2db..aa7c5c83a606 100644 --- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx +++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx @@ -42,7 +42,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; -DBG_NAME(ORelationTableConnectionData) // class ORelationTableConnectionData ORelationTableConnectionData::ORelationTableConnectionData() :OTableConnectionData() @@ -50,7 +49,6 @@ ORelationTableConnectionData::ORelationTableConnectionData() ,m_nDeleteRules(KeyRule::NO_ACTION) ,m_nCardinality(CARDINAL_UNDEFINED) { - DBG_CTOR(ORelationTableConnectionData,NULL); } ORelationTableConnectionData::ORelationTableConnectionData( const TTableWindowData::value_type& _pReferencingTable, @@ -61,7 +59,6 @@ ORelationTableConnectionData::ORelationTableConnectionData( const TTableWindowDa ,m_nDeleteRules(KeyRule::NO_ACTION) ,m_nCardinality(CARDINAL_UNDEFINED) { - DBG_CTOR(ORelationTableConnectionData,NULL); m_aConnName = rConnName; if ( !m_aConnName.isEmpty() ) @@ -71,18 +68,15 @@ ORelationTableConnectionData::ORelationTableConnectionData( const TTableWindowDa ORelationTableConnectionData::ORelationTableConnectionData( const ORelationTableConnectionData& rConnData ) :OTableConnectionData( rConnData ) { - DBG_CTOR(ORelationTableConnectionData,NULL); *this = rConnData; } ORelationTableConnectionData::~ORelationTableConnectionData() { - DBG_DTOR(ORelationTableConnectionData,NULL); } sal_Bool ORelationTableConnectionData::DropRelation() { - DBG_CHKTHIS(ORelationTableConnectionData,NULL); ::osl::MutexGuard aGuard( m_aMutex ); // Relation loeschen Reference< XIndexAccess> xKeys = getReferencingTable()->getKeys(); @@ -113,7 +107,6 @@ sal_Bool ORelationTableConnectionData::DropRelation() void ORelationTableConnectionData::ChangeOrientation() { - DBG_CHKTHIS(ORelationTableConnectionData,NULL); // Source- und DestFieldName der Linien austauschen OUString sTempString; OConnectionLineDataVec::iterator aIter = m_vConnLineData.begin(); @@ -133,7 +126,6 @@ void ORelationTableConnectionData::ChangeOrientation() void ORelationTableConnectionData::SetCardinality() { - DBG_CHKTHIS(ORelationTableConnectionData,NULL); ::osl::MutexGuard aGuard( m_aMutex ); m_nCardinality = CARDINAL_UNDEFINED; @@ -190,7 +182,6 @@ sal_Bool ORelationTableConnectionData::checkPrimaryKey(const Reference< XPropert sal_Bool ORelationTableConnectionData::IsConnectionPossible() { - DBG_CHKTHIS(ORelationTableConnectionData,NULL); ::osl::MutexGuard aGuard( m_aMutex ); // Wenn die SourceFelder ein PrimKey sind, ist nur die Orientierung falsch -- cgit v1.2.3