From 49a5a4b9cd5cc7ae42e99a52f5f8b9839202599d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Sch=C3=B6nheit?= Date: Wed, 8 Nov 2000 10:01:05 +0000 Subject: [PATCH] set the account only the the requests states that there is an account ... --- dbaccess/source/ui/uno/dbinteraction.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dbaccess/source/ui/uno/dbinteraction.cxx b/dbaccess/source/ui/uno/dbinteraction.cxx index 15e4b4f297f5..54378ab06c4a 100644 --- a/dbaccess/source/ui/uno/dbinteraction.cxx +++ b/dbaccess/source/ui/uno/dbinteraction.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dbinteraction.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: fs $ $Date: 2000-10-26 18:08:16 $ + * last change: $Author: fs $ $Date: 2000-11-08 11:01:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -311,7 +311,8 @@ namespace dbaui ? RememberAuthentication_PERSISTENT : RememberAuthentication_SESSION : RememberAuthentication_NO); - xSuppAuthent->setAccount(aLogin.GetAccount()); + if (_rAuthRequest.HasAccount) + xSuppAuthent->setAccount(aLogin.GetAccount()); xSuppAuthent->select(); } break; @@ -424,6 +425,9 @@ namespace dbaui /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.3 2000/10/26 18:08:16 fs + * handling of parameter requests + * * Revision 1.2 2000/10/26 07:32:32 fs * special login request text, with interpreting the ServerName as data source name *