WaE: illegal copy-initialization

more than one user-defined conversion has been implicitly applied. So
use the other style of initialisation then.
This commit is contained in:
Tor Lillqvist 2011-10-26 12:58:49 +03:00
parent ad44d75e53
commit 6d000e84f6

View file

@ -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);
}