summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/TableWindowAccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
index b03b08c69c37..25f7fa22e7d9 100644
--- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
+++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx
@@ -255,8 +255,8 @@ namespace dbaui
aRelations.reserve(5); // just guessing
for (; aIter != aEnd ; ++aIter )
{
- uno::Reference<uno::XInterface> xInterface =
- getParentChild(aIter - pConnectionList->begin());
+ uno::Reference<uno::XInterface> xInterface(
+ getParentChild(aIter - pConnectionList->begin()));
aRelations.push_back(xInterface);
}