diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-17 18:17:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:46 +0100 |
commit | 141b01ac65d5922aacdf6010043eadc7c28304a5 (patch) | |
tree | 8080be6ba72a3d127de8702511d049512d485f11 /connectivity/source/drivers/firebird/DatabaseMetaData.cxx | |
parent | 876413440d051f7bae8b3d222320f4bc3b617b79 (diff) |
Some more loplugin:cstylecast: connectivity
Change-Id: Iee1d11aef454284dbe050780c4308917c1a2b36f
Diffstat (limited to 'connectivity/source/drivers/firebird/DatabaseMetaData.cxx')
-rw-r--r-- | connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index c2725a979120..03bdae0e996e 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -1224,7 +1224,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( if (xDescriptionBlob.is()) { sal_Int32 aBlobLength = (sal_Int32) xDescriptionBlob->length(); - aDescription = OUString((char*) xDescriptionBlob->getBytes(0, aBlobLength).getArray(), + aDescription = OUString(reinterpret_cast<char*>(xDescriptionBlob->getBytes(0, aBlobLength).getArray()), aBlobLength, RTL_TEXTENCODING_UTF8); } @@ -1392,7 +1392,7 @@ uno::Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables( // TODO: we should actually be using CLOB here instead. // However we haven't implemented CLOB yet, so use BLOB. sal_Int32 aBlobLength = (sal_Int32) xBlob->length(); - sDescription = OUString((char*) xBlob->getBytes(0, aBlobLength).getArray(), + sDescription = OUString(reinterpret_cast<char*>(xBlob->getBytes(0, aBlobLength).getArray()), aBlobLength, RTL_TEXTENCODING_UTF8); } |