Tag: cws_src680_mdbdriver02 User: fridrich_strba Date: 05/11/03 20:35:37 Modified: /dba/dbaccess/source/ui/misc/ dsntypes.cxx
Log: Issue number: n/a Submitted by: fridrich_strba Reviewed by: fridrich_strba Final fixes because mdbtools based driver is built only on UNX platform and ADO based one on WNT. This permits to reuse the strings in dialogues. File Changes: Directory: /dba/dbaccess/source/ui/misc/ ======================================== File [changed]: dsntypes.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/misc/dsntypes.cxx?r1=1.27.36.3&r2=1.27.36.4 Delta lines: +6 -2 ------------------- --- dsntypes.cxx 3 Nov 2005 16:07:06 -0000 1.27.36.3 +++ dsntypes.cxx 4 Nov 2005 04:35:34 -0000 1.27.36.4 @@ -4,9 +4,9 @@ * * $RCSfile: dsntypes.cxx,v $ * - * $Revision: 1.27.36.3 $ + * $Revision: 1.27.36.4 $ * - * last change: $Author: fridrich_strba $ $Date: 2005/11/03 16:07:06 $ + * last change: $Author: fridrich_strba $ $Date: 2005/11/04 04:35:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -519,8 +519,11 @@ return DST_ODBC; if (_rDsn.EqualsIgnoreCaseAscii("sdbc:dbase", 0, nSeparator)) return DST_DBASE; +#ifdef UNX if (_rDsn.EqualsIgnoreCaseAscii("sdbc:mdb:", 0, nSeparator)) return DST_MSACCESS; +#endif +#ifdef WNT if (_rDsn.EqualsIgnoreCaseAscii("sdbc:ado:", 0, nSeparator)) { nSeparator = _rDsn.Search((sal_Unicode)':', nSeparator + 1); @@ -528,6 +531,7 @@ return DST_MSACCESS; return DST_ADO; } +#endif if (_rDsn.EqualsIgnoreCaseAscii("sdbc:flat:", 0, nSeparator)) return DST_FLAT; if (_rDsn.EqualsIgnoreCaseAscii("sdbc:calc:", 0, nSeparator)) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
