summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-08-02 12:46:58 +0000
committerOcke Janssen <oj@openoffice.org>2001-08-02 12:46:58 +0000
commit1b79af16250570c4f29d985a2bd6773f6eed9e73 (patch)
tree964dfe5c58467c9f15bde212b1b551b4d2797477
parent32fd12d2679fc2d650fe738be4b7cc3a1aab89e7 (diff)
#90386# set user/pwd and other to zero
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index e1bd3ffa062b..33be5ec2b345 100644
--- a/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/dbaccess/source/ui/dlg/generalpage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: generalpage.cxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: fs $ $Date: 2001-08-01 08:30:41 $
+ * last change: $Author: oj $ $Date: 2001-08-02 13:46:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -550,6 +550,10 @@ namespace dbaui
//-------------------------------------------------------------------------
void OGeneralPage::Reset(const SfxItemSet& _rCoreAttrs)
{
+ // reset all locale data
+ m_sControlPassword = m_sControlUser = m_sUserPassword = m_sUser = String();
+ m_nCacheSize = 0;
+
implSetCurrentType( DST_UNKNOWN );
// this ensures that our type selection link will be called, even if the new is is the same as the
// current one
@@ -1263,6 +1267,9 @@ namespace dbaui
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.18 2001/08/01 08:30:41 fs
+ * #88530# changeConnectionURL / getConnectionURL / minor corrections in the handling of m_eCurrentType
+ *
* Revision 1.17 2001/07/31 16:01:33 fs
* #88530# changes to operate the dialog in a mode where no type change is possible
*