diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-29 23:02:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-30 09:09:26 +0100 |
commit | 1b78b83fbdd16a83780085bc528f7fc733fae5fe (patch) | |
tree | 720b546bcc66251c9687bb93040681bc13641256 /dbaccess/source/ui/querydesign/TableWindowAccess.cxx | |
parent | help gcc 4.6.1 out with ambiguity (diff) | |
download | core-1b78b83fbdd16a83780085bc528f7fc733fae5fe.tar.gz core-1b78b83fbdd16a83780085bc528f7fc733fae5fe.zip |
tweak ambiguities for F-15 gcc 4.6.1-9
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindowAccess.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindowAccess.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index 44b3953b57e8..b03b08c69c37 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -254,7 +254,11 @@ namespace dbaui ::std::vector< Reference<XInterface> > aRelations; aRelations.reserve(5); // just guessing for (; aIter != aEnd ; ++aIter ) - aRelations.push_back(getParentChild(aIter - pConnectionList->begin())); + { + uno::Reference<uno::XInterface> xInterface = + getParentChild(aIter - pConnectionList->begin()); + aRelations.push_back(xInterface); + } Reference<XInterface> *pRelations = aRelations.empty() ? 0 : &aRelations[0]; Sequence< Reference<XInterface> > aSeq(pRelations, aRelations.size()); |