Tag: cws_src680_warnings01
User: fs      
Date: 06/06/08 02:46:06

Modified:
 /dba/connectivity/source/commontools/
  TTableHelper.cxx

Log:
 #136883# renaming getMetaData was a bad idea - it's a overridden virtual method

File Changes:

Directory: /dba/connectivity/source/commontools/
================================================

File [changed]: TTableHelper.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/TTableHelper.cxx?r1=1.3.30.1&r2=1.3.30.2
Delta lines:  +9 -7
-------------------
--- TTableHelper.cxx    21 Nov 2005 10:07:39 -0000      1.3.30.1
+++ TTableHelper.cxx    8 Jun 2006 09:46:03 -0000       1.3.30.2
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: TTableHelper.cxx,v $
  *
- *  $Revision: 1.3.30.1 $
+ *  $Revision: 1.3.30.2 $
  *
- *  last change: $Author: fs $ $Date: 2005/11/21 10:07:39 $
+ *  last change: $Author: fs $ $Date: 2006/06/08 09:46:03 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -142,7 +142,9 @@
                Any aCatalog;
                if ( m_CatalogName.getLength() )
                        aCatalog <<= m_CatalogName;
-               Reference< XResultSet > xResult = getMetaData()->getColumns(    
aCatalog,
+OSL_TRACE( "meta data: %p", getMetaData().get() );
+               Reference< XResultSet > xResult = getMetaData()->getColumns(
+            aCatalog,
                                                                                
                                                                m_SchemaName,
                                                                                
                                                                m_Name,
                                                                                
                                                                
::rtl::OUString::createFromAscii("%"));
@@ -306,7 +308,7 @@
                
::dbtools::qualifiedNameComponents(getMetaData(),newName,m_CatalogName,m_SchemaName,m_Name,::dbtools::eInTableDefinitions);
 }
 // 
-----------------------------------------------------------------------------
-Reference< XDatabaseMetaData> OTableHelper::getConnectionMetaData() const 
+Reference< XDatabaseMetaData> OTableHelper::getMetaData() const 
 { 
        return m_xMetaData; 
 }




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to