Kaydet (Commit) 9b5a2b20 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS dba24a (1.5.298); FILE MERGED

2007/09/25 11:24:07 oj 1.5.298.1: #i81922# new method to compare relation data
üst 9aae75a7
......@@ -4,9 +4,9 @@
*
* $RCSfile: ConnectionLineData.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 15:16:14 $
* last change: $Author: hr $ $Date: 2007-09-26 14:49:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -75,6 +75,8 @@ namespace dbaui
::rtl::OUString m_aSourceFieldName;
::rtl::OUString m_aDestFieldName;
friend bool operator==(const OConnectionLineData& lhs, const OConnectionLineData& rhs);
friend bool operator!=(const OConnectionLineData& lhs, const OConnectionLineData& rhs) { return !(lhs == rhs); }
protected:
virtual ~OConnectionLineData();
public:
......@@ -109,6 +111,7 @@ namespace dbaui
OConnectionLineData& operator=( const OConnectionLineData& rConnLineData );
};
//-------------------------------------------------------------------------
//------------------------------------------------------------------
typedef ::vos::ORef< OConnectionLineData > OConnectionLineDataRef;
typedef ::std::vector< OConnectionLineDataRef > OConnectionLineDataVec;
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: RTableConnectionData.hxx,v $
*
* $Revision: 1.5 $
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 15:31:28 $
* last change: $Author: hr $ $Date: 2007-09-26 14:49:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -63,6 +63,9 @@ namespace dbaui
class ORelationTableConnectionData : public OTableConnectionData,
public ::utl::OEventListenerAdapter
{
friend bool operator==(const ORelationTableConnectionData& lhs, const ORelationTableConnectionData& rhs);
friend bool operator!=(const ORelationTableConnectionData& lhs, const ORelationTableConnectionData& rhs) { return !(lhs == rhs); }
::osl::Mutex m_aMutex;
::rtl::OUString m_sDatabaseName;
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> m_xTables;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment