[Libreoffice-commits] core.git: connectivity/source
Julien Nabet
serval2412 at yahoo.fr
Fri Jul 7 21:04:59 UTC 2017
connectivity/source/commontools/dbtools.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 3329d2205ed3246c56da1bd859acaaf590dd6e71
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Jul 7 21:55:41 2017 +0200
No language driver in header for dBASEIII/Plus
See http://dbase.free.fr/tlcharge/structure%20tables.pdf
Change-Id: I68df30f73d2556a217f30d80d1d55ec93bca1564
Reviewed-on: https://gerrit.libreoffice.org/39710
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 23905d80f14a..c89a9578e5db 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -2033,7 +2033,11 @@ namespace dbase
{
switch (nType)
{
+ // dBaseIII header doesn't contain language driver ID
+ // See http://dbase.free.fr/tlcharge/structure%20tables.pdf
case dBaseIII:
+ case dBaseIIIMemo:
+ break;
case dBaseIV:
case dBaseV:
case VisualFoxPro:
@@ -2041,7 +2045,6 @@ namespace dbase
case dBaseFS:
case dBaseFSMemo:
case dBaseIVMemoSQL:
- case dBaseIIIMemo:
case FoxProMemo:
{
if (nCodepage != 0x00)
More information about the Libreoffice-commits
mailing list