[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Fri Mar 28 07:26:32 PDT 2014


 connectivity/source/drivers/dbase/DConnection.cxx       |    4 ----
 connectivity/source/drivers/file/FDatabaseMetaData.cxx  |    3 ---
 connectivity/source/drivers/file/FPreparedStatement.cxx |    4 ----
 connectivity/source/drivers/file/FResultSet.cxx         |    3 ---
 connectivity/source/drivers/file/FStatement.cxx         |    5 -----
 connectivity/source/drivers/file/FTable.cxx             |    4 ----
 connectivity/source/drivers/file/fanalyzer.cxx          |    4 ----
 connectivity/source/drivers/file/fcode.cxx              |    4 ----
 connectivity/source/drivers/file/fcomp.cxx              |    4 ----
 9 files changed, 35 deletions(-)

New commits:
commit 5a1732eaab855445c3e8ef8ab6e3d13c20512b94
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 28 15:26:01 2014 +0100

    Remove remaining DBG_CTOR etc. remnants from connectivity
    
    Change-Id: I9d7ca8354cef6a1474914ce290c476460f982bdd

diff --git a/connectivity/source/drivers/dbase/DConnection.cxx b/connectivity/source/drivers/dbase/DConnection.cxx
index c9748ba..bbe93cf 100644
--- a/connectivity/source/drivers/dbase/DConnection.cxx
+++ b/connectivity/source/drivers/dbase/DConnection.cxx
@@ -40,17 +40,13 @@ using namespace ::com::sun::star::sdbcx;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::lang;
 
-DBG_NAME(ODbaseConnection)
-
 ODbaseConnection::ODbaseConnection(ODriver* _pDriver) : OConnection(_pDriver)
 {
-    DBG_CTOR(ODbaseConnection,NULL);
     m_aFilenameExtension = "dbf";
 }
 
 ODbaseConnection::~ODbaseConnection()
 {
-    DBG_DTOR(ODbaseConnection,NULL);
 }
 
 // XServiceInfo
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
index 0c79b03..7605202 100644
--- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx
@@ -44,17 +44,14 @@ using namespace com::sun::star::sdbc;
 using namespace com::sun::star::sdbcx;
 using namespace com::sun::star::container;
 
-DBG_NAME( file_ODatabaseMetaData )
 ODatabaseMetaData::ODatabaseMetaData(OConnection* _pCon) : ::connectivity::ODatabaseMetaDataBase(_pCon,_pCon->getConnectionInfo())
                         ,m_pConnection(_pCon)
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com ODatabaseMetaData::ODatabaseMetaData" );
-    DBG_CTOR( file_ODatabaseMetaData, NULL );
 }
 
 ODatabaseMetaData::~ODatabaseMetaData()
 {
-    DBG_DTOR( file_ODatabaseMetaData, NULL );
 }
 
 Reference< XResultSet > ODatabaseMetaData::impl_getTypeInfo_throw(  )
diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx
index 97cd41e..4ab845e 100644
--- a/connectivity/source/drivers/file/FPreparedStatement.cxx
+++ b/connectivity/source/drivers/file/FPreparedStatement.cxx
@@ -51,20 +51,16 @@ using namespace com::sun::star;
 
 IMPLEMENT_SERVICE_INFO(OPreparedStatement,"com.sun.star.sdbc.driver.file.PreparedStatement","com.sun.star.sdbc.PreparedStatement");
 
-DBG_NAME( file_OPreparedStatement )
-
 OPreparedStatement::OPreparedStatement( OConnection* _pConnection)
     : OStatement_BASE2( _pConnection )
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OPreparedStatement::OPreparedStatement" );
-    DBG_CTOR( file_OPreparedStatement, NULL );
 }
 
 
 OPreparedStatement::~OPreparedStatement()
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OPreparedStatement::~OPreparedStatement" );
-    DBG_DTOR( file_OPreparedStatement, NULL );
 }
 
 
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 051e223..1454f47 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -73,7 +73,6 @@ namespace
 }
 
 IMPLEMENT_SERVICE_INFO(OResultSet,"com.sun.star.sdbcx.drivers.file.ResultSet","com.sun.star.sdbc.ResultSet");
-DBG_NAME( file_OResultSet )
 
 OResultSet::OResultSet(OStatement_Base* pStmt,OSQLParseTreeIterator&    _aSQLIterator) :    OResultSet_BASE(m_aMutex)
                         ,::comphelper::OPropertyContainer(OResultSet_BASE::rBHelper)
@@ -110,7 +109,6 @@ OResultSet::OResultSet(OStatement_Base* pStmt,OSQLParseTreeIterator&    _aSQLIte
                         ,m_bIsCount(sal_False)
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OResultSet::OResultSet" );
-    DBG_CTOR( file_OResultSet, NULL );
     osl_atomic_increment( &m_refCount );
     m_bIsCount = (m_pParseTree &&
             m_pParseTree->count() > 2                                                       &&
@@ -132,7 +130,6 @@ OResultSet::~OResultSet()
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OResultSet::~OResultSet" );
     osl_atomic_increment( &m_refCount );
     disposing();
-    DBG_DTOR( file_OResultSet, NULL );
 }
 
 void OResultSet::construct()
diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx
index 7845d26..c3c892a 100644
--- a/connectivity/source/drivers/file/FStatement.cxx
+++ b/connectivity/source/drivers/file/FStatement.cxx
@@ -50,8 +50,6 @@ using namespace com::sun::star::beans;
 using namespace com::sun::star::sdbc;
 using namespace com::sun::star::sdbcx;
 using namespace com::sun::star::container;
-DBG_NAME( file_OStatement_Base )
-
 
 OStatement_Base::OStatement_Base(OConnection* _pConnection )
     :OStatement_BASE(m_aMutex)
@@ -75,7 +73,6 @@ OStatement_Base::OStatement_Base(OConnection* _pConnection )
     ,rBHelper(OStatement_BASE::rBHelper)
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OStatement_Base::OStatement_Base" );
-    DBG_CTOR( file_OStatement_Base, NULL );
 
     m_pConnection->acquire();
 
@@ -98,8 +95,6 @@ OStatement_Base::~OStatement_Base()
     osl_atomic_increment( &m_refCount );
     disposing();
     delete m_pSQLAnalyzer;
-
-    DBG_DTOR( file_OStatement_Base, NULL );
 }
 
 void OStatement_BASE2::disposing()
diff --git a/connectivity/source/drivers/file/FTable.cxx b/connectivity/source/drivers/file/FTable.cxx
index 95e45b4..712cbc2 100644
--- a/connectivity/source/drivers/file/FTable.cxx
+++ b/connectivity/source/drivers/file/FTable.cxx
@@ -37,7 +37,6 @@ using namespace ::com::sun::star::sdbcx;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 
-DBG_NAME( file_OFileTable )
 OFileTable::OFileTable(sdbcx::OCollection* _pTables,OConnection* _pConnection)
 : OTable_TYPEDEF(_pTables,_pConnection->getMetaData()->supportsMixedCaseQuotedIdentifiers())
                 ,m_pConnection(_pConnection)
@@ -48,7 +47,6 @@ OFileTable::OFileTable(sdbcx::OCollection* _pTables,OConnection* _pConnection)
                 ,m_bWriteable(sal_False)
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OFileTable::OFileTable" );
-    DBG_CTOR( file_OFileTable, NULL );
     construct();
     m_aColumns = new OSQLColumns();
 }
@@ -73,7 +71,6 @@ OFileTable::OFileTable( sdbcx::OCollection* _pTables,OConnection* _pConnection,
     , m_bWriteable(sal_False)
 {
     SAL_INFO( "connectivity.drivers", "file Ocke.Janssen at sun.com OFileTable::OFileTable" );
-    DBG_CTOR( file_OFileTable, NULL );
     m_aColumns = new OSQLColumns();
     construct();
     //  refreshColumns();
@@ -81,7 +78,6 @@ OFileTable::OFileTable( sdbcx::OCollection* _pTables,OConnection* _pConnection,
 
 OFileTable::~OFileTable( )
 {
-    DBG_DTOR( file_OFileTable, NULL );
 }
 
 void OFileTable::refreshColumns()
diff --git a/connectivity/source/drivers/file/fanalyzer.cxx b/connectivity/source/drivers/file/fanalyzer.cxx
index 5c82068..0e6ff98 100644
--- a/connectivity/source/drivers/file/fanalyzer.cxx
+++ b/connectivity/source/drivers/file/fanalyzer.cxx
@@ -34,14 +34,11 @@ using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 
-DBG_NAME( file_OSQLAnalyzer )
-
 OSQLAnalyzer::OSQLAnalyzer(OConnection* _pConnection)
                :m_pConnection(_pConnection)
                ,m_bHasSelectionCode(sal_False)
                ,m_bSelectionFirstTime(sal_True)
 {
-    DBG_CTOR( file_OSQLAnalyzer, NULL );
     m_aCompiler = new OPredicateCompiler(this);
     m_aInterpreter = new OPredicateInterpreter(m_aCompiler);
 }
@@ -49,7 +46,6 @@ OSQLAnalyzer::OSQLAnalyzer(OConnection* _pConnection)
 
 OSQLAnalyzer::~OSQLAnalyzer()
 {
-    DBG_DTOR( file_OSQLAnalyzer, NULL );
 }
 
 
diff --git a/connectivity/source/drivers/file/fcode.cxx b/connectivity/source/drivers/file/fcode.cxx
index f20afff..c1d299f 100644
--- a/connectivity/source/drivers/file/fcode.cxx
+++ b/connectivity/source/drivers/file/fcode.cxx
@@ -57,16 +57,12 @@ TYPEINIT1(ONthOperator, OOperator);
 TYPEINIT1(OBinaryOperator, OOperator);
 TYPEINIT1(OUnaryOperator, OOperator);
 
-
-DBG_NAME(OCode )
 OCode::OCode()
 {
-    DBG_CTOR(OCode ,NULL);
 }
 
 OCode::~OCode()
 {
-    DBG_DTOR(OCode,NULL);
 }
 
 
diff --git a/connectivity/source/drivers/file/fcomp.cxx b/connectivity/source/drivers/file/fcomp.cxx
index 7931e6a..c7bfcd5 100644
--- a/connectivity/source/drivers/file/fcomp.cxx
+++ b/connectivity/source/drivers/file/fcomp.cxx
@@ -43,21 +43,17 @@ using namespace com::sun::star::sdb;
 using namespace ::com::sun::star::container;
 using namespace com::sun::star;
 
-DBG_NAME(OPredicateCompiler)
-
 OPredicateCompiler::OPredicateCompiler(OSQLAnalyzer* pAnalyzer)//,OCursor& rCurs)
                      : m_pAnalyzer(pAnalyzer)
                      , m_nParamCounter(0)
                      , m_bORCondition(sal_False)
 {
-    DBG_CTOR(OPredicateCompiler,NULL);
 }
 
 
 OPredicateCompiler::~OPredicateCompiler()
 {
     Clean();
-    DBG_DTOR(OPredicateCompiler,NULL);
 }
 
 void OPredicateCompiler::dispose()


More information about the Libreoffice-commits mailing list