summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/uno/dbinteraction.cxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2000-11-08 10:01:05 +0000
committerFrank Schönheit <fs@openoffice.org>2000-11-08 10:01:05 +0000
commit49a5a4b9cd5cc7ae42e99a52f5f8b9839202599d (patch)
treef940da130b30d70a4594043d948293e81eacccc6 /dbaccess/source/ui/uno/dbinteraction.cxx
parentservice names changed (diff)
downloadcore-49a5a4b9cd5cc7ae42e99a52f5f8b9839202599d.tar.gz
core-49a5a4b9cd5cc7ae42e99a52f5f8b9839202599d.zip
set the account only the the requests states that there is an account ...
Diffstat (limited to 'dbaccess/source/ui/uno/dbinteraction.cxx')
-rw-r--r--dbaccess/source/ui/uno/dbinteraction.cxx10
1 files 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
*