summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-26 12:58:49 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-26 12:58:49 +0300
commit6d000e84f66b09b6024fd4a4bd6cde3293e92a29 (patch)
tree5a0554c8a2ca639fba31866beedaf2750d3bfc67 /dbaccess
parentad44d75e531df900efdaab06dd47fd31433dd481 (diff)
WaE: illegal copy-initialization
more than one user-defined conversion has been implicitly applied. So use the other style of initialisation then.
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);
}