[Libreoffice-commits] .: connectivity/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 8 14:45:32 PST 2012


 connectivity/source/drivers/odbcbase/OTools.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 44b0bf91df1af9920b1c22a2f54bd70c9c44231b
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Dec 8 23:43:19 2012 +0100

    Add missing breaks
    
    Change-Id: Icaa08718c37c2c8823a21b6a3ae4ef8b62b52550

diff --git a/connectivity/source/drivers/odbcbase/OTools.cxx b/connectivity/source/drivers/odbcbase/OTools.cxx
index a868b0b..290aa61 100644
--- a/connectivity/source/drivers/odbcbase/OTools.cxx
+++ b/connectivity/source/drivers/odbcbase/OTools.cxx
@@ -682,8 +682,10 @@ SQLSMALLINT OTools::jdbcTypeToOdbc(sal_Int32 jdbcType)
     // ODBC doesn't have any notion of CLOB or BLOB
     case DataType::CLOB:
         odbcType = SQL_LONGVARCHAR;
+        break;
     case DataType::BLOB:
         odbcType = SQL_LONGVARBINARY;
+        break;
     }
 
     return odbcType;


More information about the Libreoffice-commits mailing list