diff options
Diffstat (limited to 'connectivity/source/drivers/kab/KDatabaseMetaData.cxx')
-rw-r--r-- | connectivity/source/drivers/kab/KDatabaseMetaData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx index 6f909a1f1c66..219e0d980d58 100644 --- a/connectivity/source/drivers/kab/KDatabaseMetaData.cxx +++ b/connectivity/source/drivers/kab/KDatabaseMetaData.cxx @@ -880,7 +880,7 @@ Reference< XResultSet > SAL_CALL KabDatabaseMetaData::getColumns( OUString sName; aQtName = ::KABC::Addressee::revisionLabel(); - sName = (const sal_Unicode *) aQtName.ucs2(); + sName = reinterpret_cast<const sal_Unicode *>(aQtName.ucs2()); if (match(columnNamePattern, sName, '\0')) { aRow[4] = new ORowSetValueDecorator(sName); @@ -898,7 +898,7 @@ Reference< XResultSet > SAL_CALL KabDatabaseMetaData::getColumns( ++aField, ++nPosition) { aQtName = (*aField)->label(); - sName = (const sal_Unicode *) aQtName.ucs2(); + sName = reinterpret_cast<const sal_Unicode *>(aQtName.ucs2()); if (match(columnNamePattern, sName, '\0')) { aRow[4] = new ORowSetValueDecorator(sName); @@ -993,7 +993,7 @@ Reference< XResultSet > SAL_CALL KabDatabaseMetaData::getVersionColumns( { ODatabaseMetaDataResultSet::ORow aRow( 9 ); QString aQtName = ::KABC::Addressee::revisionLabel(); - OUString sName = (const sal_Unicode *) aQtName.ucs2(); + OUString sName = reinterpret_cast<const sal_Unicode *>(aQtName.ucs2()); aRow[0] = ODatabaseMetaDataResultSet::getEmptyValue(); aRow[1] = ODatabaseMetaDataResultSet::getEmptyValue(); |