[Libreoffice-commits] core.git: connectivity/source

Julien Nabet serval2412 at yahoo.fr
Mon Mar 18 00:43:03 PDT 2013


 connectivity/source/drivers/dbase/DTable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c3d1c45e51c102b893bc2e2d7a9102d8d2e4e886
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Mar 17 07:17:27 2013 +0100

    coverity#705135 Missing break in switch
    
    Change-Id: Ie610b3b10b5d83b772ad96e455d59360368086a4
    Reviewed-on: https://gerrit.libreoffice.org/2779
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 52f5195..ee2d7df 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -353,8 +353,8 @@ OSL_TRACE("column type: %c",aDBFColumn.db_typ);
                 aTypeName = "VARCHAR";
                 break;
             case 'F':
-                aTypeName = "DECIMAL";
             case 'N':
+                aTypeName = "DECIMAL";
                 if ( aDBFColumn.db_typ == 'N' )
                     aTypeName = "NUMERIC";
                 eType = DataType::DECIMAL;


More information about the Libreoffice-commits mailing list