diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-27 08:59:58 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-06-27 09:29:33 +0200 |
commit | 1b0a43142b27286e717f63c90363625a1aeff74c (patch) | |
tree | 90498ff44e57a8062d06d6ecc516b58af05e583d /connectivity/source/drivers/jdbc/Timestamp.cxx | |
parent | 83dc5c075884dfdb71952aa2617cc6f63dcc56ad (diff) |
new dbtools::DBTypeConversion::toTimeStringS for time in second precision
(no fractional second)
Change-Id: I8bf448783b24fceae9a750f40887d6296999b203
Diffstat (limited to 'connectivity/source/drivers/jdbc/Timestamp.cxx')
-rw-r--r-- | connectivity/source/drivers/jdbc/Timestamp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/Timestamp.cxx b/connectivity/source/drivers/jdbc/Timestamp.cxx index 5337330296b9..508000140ecc 100644 --- a/connectivity/source/drivers/jdbc/Timestamp.cxx +++ b/connectivity/source/drivers/jdbc/Timestamp.cxx @@ -104,7 +104,7 @@ java_sql_Time::java_sql_Time( const ::com::sun::star::util::Time& _rOut ): java_ // Convert parameters OUString sDateStr; // java.sql.Time supports only whole seconds... - sDateStr = ::dbtools::DBTypeConversion::toTimeString(_rOut).copy(0, 8); + sDateStr = ::dbtools::DBTypeConversion::toTimeStringS(_rOut); args[0].l = convertwchar_tToJavaString(t.pEnv,sDateStr); // Turn off Java-Call for the constructor |