summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dbadmin.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:10:29 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-01 14:10:29 +0000
commit25e0c1978a42211ae3559fd74f3dd4f07d597fe9 (patch)
treee0e3c75546976c9f7dc8b0bc6d1f66741075d306 /dbaccess/source/ui/dlg/dbadmin.cxx
parent6a0bce8df8a960f4764947e646ef78fb27e653fd (diff)
INTEGRATION: CWS dba24b (1.103.28); FILE MERGED
2007/09/05 08:40:33 fs 1.103.28.4: #i80845# change the defaults for field delimiter and thousands separator, to match the core defaults 2007/08/29 12:02:57 fs 1.103.28.3: getORB made const 2007/08/27 13:31:24 fs 1.103.28.2: #i80930# +DSID_CHECK_REQUIRED_FIELDS 2007/08/27 10:50:38 fs 1.103.28.1: prepare #i80930#: outsourced all the advanced settings into dedicated pages (they were never needed by more than one instance of the CommonBehaviourPage)
Diffstat (limited to 'dbaccess/source/ui/dlg/dbadmin.cxx')
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 9792bdd17fd4..28579e73fbc0 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dbadmin.cxx,v $
*
- * $Revision: 1.103 $
+ * $Revision: 1.104 $
*
- * last change: $Author: rt $ $Date: 2007-07-06 08:13:45 $
+ * last change: $Author: hr $ $Date: 2007-11-01 15:10:29 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -81,9 +81,6 @@
#ifndef DBAUI_CONNECTIONPAGE_HXX
#include "ConnectionPage.hxx"
#endif
-#ifndef DBAUI_ADVANCEDPAGEDLG_HXX
-#include "AdvancedPageDlg.hxx"
-#endif
#ifndef DBAUI_DRIVERSETTINGS_HXX
#include "DriverSettings.hxx"
#endif
@@ -380,7 +377,7 @@ SfxItemSet* ODbAdminDialog::getWriteOutputSet()
return m_pImpl->createConnection();
}
// -----------------------------------------------------------------------------
-Reference< XMultiServiceFactory > ODbAdminDialog::getORB()
+Reference< XMultiServiceFactory > ODbAdminDialog::getORB() const
{
return m_pImpl->getORB();
}
@@ -426,10 +423,10 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
*pCounter++ = new SfxBoolItem(DSID_SHOWDELETEDROWS, sal_False);
*pCounter++ = new SfxBoolItem(DSID_ALLOWLONGTABLENAMES, sal_False);
*pCounter++ = new SfxStringItem(DSID_JDBCDRIVERCLASS, String());
- *pCounter++ = new SfxStringItem(DSID_FIELDDELIMITER, ';');
+ *pCounter++ = new SfxStringItem(DSID_FIELDDELIMITER, ',');
*pCounter++ = new SfxStringItem(DSID_TEXTDELIMITER, '"');
*pCounter++ = new SfxStringItem(DSID_DECIMALDELIMITER, '.');
- *pCounter++ = new SfxStringItem(DSID_THOUSANDSDELIMITER, ',');
+ *pCounter++ = new SfxStringItem(DSID_THOUSANDSDELIMITER, String());
*pCounter++ = new SfxStringItem(DSID_TEXTFILEEXTENSION, String::CreateFromAscii("txt"));
*pCounter++ = new SfxBoolItem(DSID_TEXTFILEHEADER, sal_True);
*pCounter++ = new SfxBoolItem(DSID_PARAMETERNAMESUBST, sal_True);
@@ -464,6 +461,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
*pCounter++ = new SfxBoolItem(DSID_DOSLINEENDS, sal_False);
*pCounter++ = new SfxStringItem(DSID_DATABASENAME, String());
*pCounter++ = new SfxBoolItem(DSID_AS_BEFORE_CORRNAME, sal_True);
+ *pCounter++ = new SfxBoolItem(DSID_CHECK_REQUIRED_FIELDS, sal_True);
// create the pool
static SfxItemInfo __READONLY_DATA aItemInfos[DSID_LAST_ITEM_ID - DSID_FIRST_ITEM_ID + 1] =
@@ -520,6 +518,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
{0,0},
{0,0},
{0,0},
+ {0,0},
{0,0}
};