diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-11-07 13:06:21 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-11-07 13:06:21 +0000 |
commit | 05a070adf6a217a80be9af15443c1e7976065c74 (patch) | |
tree | f682a460665b3db03b8308c70dc7fa3b6fe64eec /dbaccess/source/ui/control/RelationControl.cxx | |
parent | 8f2ba82c72eab09a41c5f01a891ffac3d6f13b28 (diff) |
#104816# use composedName
Diffstat (limited to 'dbaccess/source/ui/control/RelationControl.cxx')
-rw-r--r-- | dbaccess/source/ui/control/RelationControl.cxx | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index 92fc4e91068e..edf4b9872dcb 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: RelationControl.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: fs $ $Date: 2002-09-10 14:45:13 $ + * last change: $Author: oj $ $Date: 2002-11-07 14:06:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -560,14 +560,17 @@ namespace dbaui m_lmbRightTable.InsertEntry(aIter->first); if (!pInitialLeft) + { pInitialLeft = aIter->second; + m_strCurrentLeft = aIter->first; + } else if (!pInitialRight) + { pInitialRight = aIter->second; + m_strCurrentRight = aIter->first; + } } - m_strCurrentLeft = pInitialLeft->GetWinName(); - m_strCurrentRight = pInitialRight->GetWinName(); - // links das erste, rechts das zweite selektieren m_lmbLeftTable.SelectEntry(m_strCurrentLeft); m_lmbRightTable.SelectEntry(m_strCurrentRight); @@ -607,7 +610,7 @@ namespace dbaui ++aIter; OTableWindow* pSecond = aIter->second; - if (m_lmbLeftTable.GetSelectEntry() == String(pFirst->GetWinName())) + if ( m_lmbLeftTable.GetSelectEntry() == String(pFirst->GetComposedName()) ) { pLeft = pFirst; pRight = pSecond; |