summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-21 15:41:03 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-21 15:41:03 +0300
commit4233db9d50fec92b0907b785924455b7638c1b56 (patch)
tree9548dcd0a0eeebdb70b909a1491578a68d81ce14 /dbaccess
parent6cd933655bdc27b97998c60b23820a98fd8192ef (diff)
Drop OS2
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx3
-rw-r--r--dbaccess/source/ui/dlg/odbcconfig.cxx13
-rw-r--r--dbaccess/source/ui/dlg/odbcconfig.hxx4
3 files changed, 2 insertions, 18 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index 2903742efa70..9d2fc4da8f1e 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -334,9 +334,6 @@ DBG_NAME(OTextConnectionHelper)
String sExtension = GetExtension();
String aErrorText;
Control* pErrorWin = NULL;
- // if (!m_aFieldSeparator.GetText().Len())
- // if this line is compiled under OS2 (in a product environent)
- // -> use a temporary variable
String aDelText(m_aFieldSeparator.GetText());
if(!aDelText.Len())
{ // Kein FeldTrenner
diff --git a/dbaccess/source/ui/dlg/odbcconfig.cxx b/dbaccess/source/ui/dlg/odbcconfig.cxx
index 3c04790c2f73..858bf0a8f5d9 100644
--- a/dbaccess/source/ui/dlg/odbcconfig.cxx
+++ b/dbaccess/source/ui/dlg/odbcconfig.cxx
@@ -48,10 +48,6 @@
#ifdef HAVE_ODBC_SUPPORT
-#if defined(OS2)
-#define ODBC_LIBRARY "ODBC.DLL"
-#define ODBC_UI_LIBRARY "ODBCINST.DLL"
-#endif
#if defined WNT
#define ODBC_LIBRARY "ODBC32.DLL"
#define ODBC_UI_LIBRARY "ODBCCP32.DLL"
@@ -82,11 +78,6 @@
#endif
#endif // defined(WNT)
-#if defined(OS2)
-#define ALLREADY_HAVE_OS2_TYPES
-#define DONT_TD_VOID
-#endif
-
#ifdef SYSTEM_ODBC_HEADERS
#include <sqlext.h>
#else
@@ -102,10 +93,6 @@
#endif // defined(WNT)
// from here on you can do what you want to
-#if defined(OS2)
-#define SQL_API _System
-#endif // defined(OS2)
-
#else
#define ODBC_LIBRARY ""
diff --git a/dbaccess/source/ui/dlg/odbcconfig.hxx b/dbaccess/source/ui/dlg/odbcconfig.hxx
index 20b0adb0cb44..2c950ba5f473 100644
--- a/dbaccess/source/ui/dlg/odbcconfig.hxx
+++ b/dbaccess/source/ui/dlg/odbcconfig.hxx
@@ -31,11 +31,11 @@
#include "commontypes.hxx"
-#if defined(WNT) || defined (UNX) || defined (OS2)
+#if defined(WNT) || defined (UNX)
#define HAVE_ODBC_SUPPORT
#endif
-#if ( defined(WNT) || defined (OS2) ) && defined(HAVE_ODBC_SUPPORT)
+#if defined(WNT) && defined(HAVE_ODBC_SUPPORT)
#define HAVE_ODBC_ADMINISTRATION
#endif