From 6d000e84f66b09b6024fd4a4bd6cde3293e92a29 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 26 Oct 2011 12:58:49 +0300 Subject: WaE: illegal copy-initialization more than one user-defined conversion has been implicitly applied. So use the other style of initialisation then. --- dbaccess/source/ui/querydesign/TableWindowAccess.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbaccess') 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 xInterface = - getParentChild(aIter - pConnectionList->begin()); + uno::Reference xInterface( + getParentChild(aIter - pConnectionList->begin())); aRelations.push_back(xInterface); } -- cgit