diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-27 16:52:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:21:03 +0200 |
commit | 2709a759bcc6095094d80e0e3c40707c87d0668f (patch) | |
tree | 0576ee739c79f46899b4044ec4467e257c5f4fdf /connectivity | |
parent | f36b923276a07151a07a9e5ff619a7e9f002e6c4 (diff) |
Make use of comphelper::log::convert::convetLogArgToString bool overload
Change-Id: Ic91c65fc1f74fbde86c2448d1c394a5e30452a75
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/jdbc/DatabaseMetaData.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx index 3d6179cb730e..feadbcec5706 100644 --- a/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/jdbc/DatabaseMetaData.cxx @@ -541,7 +541,7 @@ bool java_sql_DatabaseMetaData::impl_callBooleanMethod( const char* _pMethodName { m_aLogger.log( LogLevel::FINEST, STR_LOG_META_DATA_METHOD, _pMethodName ); jboolean out( java_lang_Object::callBooleanMethod(_pMethodName,_inout_MethodID) ); - m_aLogger.log< const sal_Char*, sal_Int16>( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, _pMethodName, out ); + m_aLogger.log< const sal_Char*, bool>( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, _pMethodName, out ); return out; } @@ -584,7 +584,7 @@ bool java_sql_DatabaseMetaData::impl_callBooleanMethodWithIntArg( const char* _p jboolean out( callBooleanMethodWithIntArg(_pMethodName,_inout_MethodID,_nArgument) ); - m_aLogger.log< const sal_Char*, sal_Int16 >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, _pMethodName, out ); + m_aLogger.log< const sal_Char*, bool >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, _pMethodName, out ); return out; } @@ -1004,7 +1004,7 @@ sal_Bool SAL_CALL java_sql_DatabaseMetaData::supportsConvert( sal_Int32 fromType ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); } - m_aLogger.log< const sal_Char*, sal_Int16 >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, pMethodName, out ); + m_aLogger.log< const sal_Char*, bool >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, pMethodName, out ); return out; } @@ -1346,7 +1346,7 @@ sal_Bool SAL_CALL java_sql_DatabaseMetaData::supportsResultSetConcurrency( sal_I ThrowLoggedSQLException( m_aLogger, t.pEnv, *this ); } - m_aLogger.log< const sal_Char*, sal_Int16 >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, pMethodName, out ); + m_aLogger.log< const sal_Char*, bool >( LogLevel::FINEST, STR_LOG_META_DATA_RESULT, pMethodName, out ); return out; } |