summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:17:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:46 +0100
commit141b01ac65d5922aacdf6010043eadc7c28304a5 (patch)
tree8080be6ba72a3d127de8702511d049512d485f11 /connectivity/source/drivers/postgresql/pq_connection.hxx
parent876413440d051f7bae8b3d222320f4bc3b617b79 (diff)
Some more loplugin:cstylecast: connectivity
Change-Id: Iee1d11aef454284dbe050780c4308917c1a2b36f
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.hxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index 20526ce51af3..848dc70a4edf 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -142,7 +142,7 @@ struct HashByteSequence
{
sal_Int32 operator () ( const ::rtl::ByteSequence & seq ) const
{
- return *(sal_Int32*) seq.getConstArray();
+ return *reinterpret_cast<sal_Int32 const *>(seq.getConstArray());
}
};