Tag: cws_src680_hsqlcsv
User: fs      
Date: 2006/09/14 04:53:35

Modified:
   dba/dbaccess/source/ui/app/AppView.cxx
   dba/dbaccess/source/ui/app/AppView.hxx

Log:
 #i69526# getQualifiedName and getSelectionElementNames do not need 
XDatabaseMetaData

File Changes:

Directory: /dba/dbaccess/source/ui/app/
=======================================

File [changed]: AppView.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppView.cxx?r1=1.14&r2=1.14.32.1
Delta lines:  +7 -7
-------------------
--- AppView.cxx 20 Jun 2006 02:55:11 -0000      1.14
+++ AppView.cxx 14 Sep 2006 11:53:32 -0000      1.14.32.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppView.cxx,v $
  *
- *  $Revision: 1.14 $
+ *  $Revision: 1.14.32.1 $
  *
- *  last change: $Author: hr $ $Date: 2006/06/20 02:55:11 $
+ *  last change: $Author: fs $ $Date: 2006/09/14 11:53:32 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -411,10 +411,10 @@
                pTest->paste();
 }
 // 
-----------------------------------------------------------------------------
-::rtl::OUString OApplicationView::getQualifiedName(SvLBoxEntry* _pEntry,const 
Reference< XDatabaseMetaData>& _xMetaData) const
+::rtl::OUString OApplicationView::getQualifiedName( SvLBoxEntry* _pEntry ) 
const
 {
        OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF");
-       return getDetailView()->getQualifiedName(_pEntry,_xMetaData);
+       return getDetailView()->getQualifiedName( _pEntry );
 }
 // 
-----------------------------------------------------------------------------
 sal_Bool OApplicationView::isLeaf(SvLBoxEntry* _pEntry) const
@@ -477,10 +477,10 @@
        return getDetailView()->getElementCount();
 }
 // 
-----------------------------------------------------------------------------
-void OApplicationView::getSelectionElementNames(::std::vector< 
::rtl::OUString>& _rNames,const Reference< XDatabaseMetaData>& _xMetaData) const
+void OApplicationView::getSelectionElementNames( ::std::vector< 
::rtl::OUString>& _rNames ) const
 {
        OSL_ENSURE(m_pWin && getDetailView(),"Detail view is NULL! -> GPF");
-       getDetailView()->getSelectionElementNames(_rNames,_xMetaData);
+       getDetailView()->getSelectionElementNames( _rNames );
 }
 // 
-----------------------------------------------------------------------------
 SvLBoxEntry* OApplicationView::elementAdded(ElementType eType,const 
::rtl::OUString& _rName, const Any& _rObject, const Reference< XConnection >& 
_rxConn )

File [changed]: AppView.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppView.hxx?r1=1.9&r2=1.9.34.1
Delta lines:  +5 -11
--------------------
--- AppView.hxx 20 Jun 2006 02:55:23 -0000      1.9
+++ AppView.hxx 14 Sep 2006 11:53:32 -0000      1.9.34.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: AppView.hxx,v $
  *
- *  $Revision: 1.9 $
+ *  $Revision: 1.9.34.1 $
  *
- *  last change: $Author: hr $ $Date: 2006/06/20 02:55:23 $
+ *  last change: $Author: fs $ $Date: 2006/09/14 11:53:32 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -187,13 +187,10 @@
                        @param  _pEntry
                                The entry of a table, or query, form, report to 
get the qualified name. 
                                If the entry is <NULL/>, the first selected is 
chosen.
-                       @param  _xMetaData
-                               The meta data are used to create the table 
name, otherwise this may also be <NULL/>
                        @return
                                the qualified name
                */
-               ::rtl::OUString getQualifiedName(SvLBoxEntry* _pEntry
-                                                                               
,const ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData) const;
+               ::rtl::OUString getQualifiedName( SvLBoxEntry* _pEntry ) const;
 
                /** returns if an entry is a leaf
                        @param _pEntry
@@ -243,11 +240,8 @@
                /** returns the element names which are selected
                        @param  _rNames
                                The list will be filled.
-                       @param  _xMetaData
-                               Will be used when the table list should be 
filled.
                */
-               void getSelectionElementNames(::std::vector< ::rtl::OUString>& 
_rNames
-                       ,const ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData = NULL) const;
+               void getSelectionElementNames( ::std::vector< ::rtl::OUString>& 
_rNames ) const;
 
                /** adds a new object to the detail page.
                        @param  _eType




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

Reply via email to