diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:45 +0200 |
commit | a52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch) | |
tree | 9e03f530d36c1c65f0db9d8698677e802137b3bb /connectivity/source/drivers/firebird | |
parent | c266ba458f444e5f4a4bafbf4073710c31897536 (diff) |
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'connectivity/source/drivers/firebird')
-rw-r--r-- | connectivity/source/drivers/firebird/ResultSet.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index d3531d785f4e..2dfe6be3bb0a 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -381,7 +381,7 @@ T OResultSet::retrieveValue(const sal_Int32 nColumnIndex, const ISC_SHORT nType) return T(); if ((m_pSqlda->sqlvar[nColumnIndex-1].sqltype & ~1) == nType) - return *((T*) m_pSqlda->sqlvar[nColumnIndex-1].sqldata); + return *reinterpret_cast<T*>(m_pSqlda->sqlvar[nColumnIndex-1].sqldata); else return retrieveValue< ORowSetValue >(nColumnIndex, 0); } |