diff options
author | Markus Maier <maier@fs.ei.tum.de> | 2012-11-25 01:10:10 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-11-25 16:48:01 +0000 |
commit | b05dc2e3910d22bb919ada64a0cb21c67c0f3623 (patch) | |
tree | 2bb86143147a3b39a349d8d742628107326f2ab2 /dbaccess/source/ui/querydesign/QTableConnection.cxx | |
parent | b60f7e4e1c8a4db1dc0b5b1583cc1170c70590db (diff) |
German comment translations
Change-Id: I0d169b7cd0f47b6986063d0cc0b6697b1d575e6a
Diffstat (limited to 'dbaccess/source/ui/querydesign/QTableConnection.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QTableConnection.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/dbaccess/source/ui/querydesign/QTableConnection.cxx b/dbaccess/source/ui/querydesign/QTableConnection.cxx index 0a7aa31abeb3..849cd9c30482 100644 --- a/dbaccess/source/ui/querydesign/QTableConnection.cxx +++ b/dbaccess/source/ui/querydesign/QTableConnection.cxx @@ -40,7 +40,7 @@ OQueryTableConnection::OQueryTableConnection(const OQueryTableConnection& rConn) :OTableConnection( rConn ) { DBG_CTOR(OQueryTableConnection,NULL); - // keine eigenen Members, also reicht die Basisklassenfunktionalitaet + // no own members, so base class functionality is sufficient } //------------------------------------------------------------------------ OQueryTableConnection::~OQueryTableConnection() @@ -55,27 +55,26 @@ OQueryTableConnection& OQueryTableConnection::operator=(const OQueryTableConnect return *this; OTableConnection::operator=(rConn); - // keine eigenen Members ... + // no own members ... return *this; } //------------------------------------------------------------------------ sal_Bool OQueryTableConnection::operator==(const OQueryTableConnection& rCompare) { - OSL_ENSURE(GetData() && rCompare.GetData(), "OQueryTableConnection::operator== : einer der beiden Teilnehmer hat keine Daten !"); + OSL_ENSURE(GetData() && rCompare.GetData(), "OQueryTableConnection::operator== : one of the two participants has no data!"); - // allzuviel brauche ich nicht vergleichen (schon gar nicht alle Member) : lediglich die Fenster, an denen wir haengen, und - // die Indizies in der entsprechenden Tabelle muessen uebereinstimmen + // I don't have to compare all too much (especially not all the members) : merely the windows, which we are connected to, and the indices in the corresponding table have to match. OQueryTableConnectionData* pMyData = static_cast<OQueryTableConnectionData*>(GetData().get()); OQueryTableConnectionData* pCompData = static_cast<OQueryTableConnectionData*>(rCompare.GetData().get()); - // Connections werden als gleich angesehen, wenn sie in Source-/Dest-Fenstername und Source-/Dest-FieldIndex uebereinstimmen ... + // Connections are seen as equal, if source and destination window names and source and destination field Indices match... return ( ( (pMyData->getReferencedTable() == pCompData->getReferencedTable()) && (pMyData->getReferencingTable() == pCompData->getReferencingTable()) && (pMyData->GetFieldIndex(JTCS_TO) == pCompData->GetFieldIndex(JTCS_TO)) && (pMyData->GetFieldIndex(JTCS_FROM) == pCompData->GetFieldIndex(JTCS_FROM)) ) - || // ... oder diese Uebereinstimmung ueber Kreuz besteht + || // ... or this cross matching is given ( (pMyData->getReferencingTable() == pCompData->getReferencedTable()) && (pMyData->getReferencedTable() == pCompData->getReferencingTable()) && (pMyData->GetFieldIndex(JTCS_TO) == pCompData->GetFieldIndex(JTCS_FROM)) && |