summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-29 23:02:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-30 09:09:26 +0100
commit1b78b83fbdd16a83780085bc528f7fc733fae5fe (patch)
tree720b546bcc66251c9687bb93040681bc13641256 /dbaccess/source/ui/querydesign/TableWindowAccess.cxx
parent350e1e245643e107b6e46b2de3dc73906ab844a5 (diff)
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.cxx6
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());