From da56de9ac4824eb365af20b351719395e725be39 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Thu, 30 Mar 2017 09:36:06 +0200 Subject: remove type decorations on char literals they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- connectivity/source/commontools/dbtools.cxx | 2 +- connectivity/source/drivers/firebird/PreparedStatement.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 341870bda331..a63e1cd6ffe7 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -891,7 +891,7 @@ void qualifiedNameComponents(const Reference< XDatabaseMetaData >& _rxConnMetaDa if ( aNameComps.bSchemas ) { - sal_Int32 nIndex = sName.indexOf((sal_Unicode)'.'); + sal_Int32 nIndex = sName.indexOf('.'); // OSL_ENSURE(-1 != nIndex, "QualifiedNameComponents : no schema separator!"); if ( nIndex != -1 ) _rSchema = sName.copy(0, nIndex); diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index 8b01f51dc23f..91b434047db2 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -314,7 +314,7 @@ sal_Int64 toNumericWithoutDecimalPlace(const OUString& sSource) // cut off leading 0 eventually ( eg. 0.567 -> .567) (void)sSource.startsWith("0", &sNumber); - sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.'); + sal_Int32 nDotIndex = sNumber.indexOf('.'); if( nDotIndex < 0) { -- cgit