diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:49:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:49 +0100 |
commit | 35ce36b713d4b17f7768c6d471a2ee5825af37da (patch) | |
tree | be441768f82516c24556fe47ebfc407f33b74c1a /mysqlc/source/mysqlc_resultset.cxx | |
parent | 30f5040f8d26745f92b0171cf8d6133b51444a99 (diff) |
Some more loplugin:cstylecast: mysqlc
Change-Id: I7849658606931b231c2bde0c8143bc1f325c80d4
Diffstat (limited to 'mysqlc/source/mysqlc_resultset.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_resultset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx index e0527ce73c96..57521ccc6d56 100644 --- a/mysqlc/source/mysqlc_resultset.cxx +++ b/mysqlc/source/mysqlc_resultset.cxx @@ -224,7 +224,7 @@ Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column) if (!val.length()) { return Sequence< sal_Int8>(); } else { - return Sequence< sal_Int8 > ((sal_Int8*)val.c_str(), val.length()); + return Sequence< sal_Int8 > (reinterpret_cast<sal_Int8 const *>(val.c_str()), val.length()); } } |